Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007391/0.007391, allocations: 102.2 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 192.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.663/2.663, allocations: 472.7 MB / 0.7453 GB, free: 380 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 59.91 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 159.9 MB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002098/1.054, allocations: 0.5734 MB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 4.606e-05/1.054, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/1.054, allocations: 3.938 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/1.054, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/1.054, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.452e-05/1.054, allocations: 4 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/1.054, allocations: 3.984 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/1.054, allocations: 6.031 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/1.055, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.722e-05/1.055, allocations: 12 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/1.055, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.666e-06/1.055, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/1.055, allocations: 3.984 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/1.055, allocations: 3.938 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 6.28e-05/1.055, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.055, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.505e-06/1.055, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.055, allocations: 4 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003064/1.055, allocations: 311.5 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.055, allocations: 16.06 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/1.055, allocations: 38.69 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/1.055, allocations: 0.9375 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.055, allocations: 164.3 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/1.055, allocations: 384 / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/1.055, allocations: 384 / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.386e-05/1.055, allocations: 34.25 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.055, allocations: 3.938 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/1.055, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/1.055, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/1.055, allocations: 4 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/1.056, allocations: 379.5 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/1.056, allocations: 177 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/1.056, allocations: 80.14 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/1.056, allocations: 79.28 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.056, allocations: 109.8 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/1.056, allocations: 0 / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.967e-05/1.056, allocations: 29.64 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.056, allocations: 130.7 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/1.056, allocations: 89.86 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.056, allocations: 29.81 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/1.056, allocations: 96.08 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/1.056, allocations: 0 / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/1.056, allocations: 9.719 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.056, allocations: 310.8 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/1.056, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/1.056, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/1.056, allocations: 79.28 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/1.056, allocations: 83.22 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.481e-05/1.057, allocations: 29.7 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/1.057, allocations: 83.22 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/1.057, allocations: 79.31 kB / 1.228 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-05/1.057, allocations: 158.5 kB / 1.228 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/1.057, allocations: 79.22 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.773e-05/1.057, allocations: 154.6 kB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/1.057, allocations: 87.22 kB / 1.229 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.057, allocations: 75.28 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.057, allocations: 260.9 kB / 1.229 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/1.057, allocations: 105 kB / 1.229 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/1.057, allocations: 116 kB / 1.229 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.814e-05/1.057, allocations: 180.3 kB / 1.229 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.505e-05/1.057, allocations: 181.4 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/1.057, allocations: 180.3 kB / 1.23 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/1.058, allocations: 409.1 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.38e-05/1.058, allocations: 104.9 kB / 1.23 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/1.058, allocations: 101 kB / 1.23 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/1.058, allocations: 188.2 kB / 1.23 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/1.058, allocations: 180.2 kB / 1.231 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-05/1.058, allocations: 176.3 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.401e-05/1.058, allocations: 188.2 kB / 1.231 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/1.058, allocations: 308.1 kB / 1.231 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/1.058, allocations: 190 kB / 1.231 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/1.058, allocations: 176.3 kB / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/1.058, allocations: 112.9 kB / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/1.058, allocations: 184.2 kB / 1.232 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.058, allocations: 108.9 kB / 1.232 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.733e-05/1.059, allocations: 79.28 kB / 1.232 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/1.059, allocations: 3.938 kB / 1.232 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002747/1.059, allocations: 4 kB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000415/1.059, allocations: 0.8088 MB / 1.233 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 3.904e-05/1.059, allocations: 3.938 kB / 1.233 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.059, allocations: 0 / 1.233 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/1.059, allocations: 0 / 1.233 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/1.06, allocations: 459.7 kB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.061, allocations: 1.535 MB / 1.235 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/1.061, allocations: 0.669 MB / 1.235 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.316e-06/1.061, allocations: 0 / 1.235 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/1.061, allocations: 7.438 kB / 1.235 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/1.061, allocations: 0 / 1.235 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/1.078, allocations: 0.9252 MB / 1.236 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/8.68, allocations: 13.19 kB / 1.236 GB, free: 1.465 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches