Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",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.008131/0.008131, allocations: 101 kB / 15.73 MB, free: 6.043 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.001932/0.001932, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 62.28 kB / 0.9503 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2228, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1518/0.3746, allocations: 162.4 MB / 1.246 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.3789, allocations: 2.913 MB / 1.249 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.3794, allocations: 19.88 kB / 1.249 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.3801, allocations: 206.8 kB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.3819, allocations: 0.7738 MB / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.3828, allocations: 347.2 kB / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.384, allocations: 0.9329 MB / 1.251 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.3844, allocations: 258.3 kB / 1.251 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.385, allocations: 342.6 kB / 1.252 GB, free: 9.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/0.3859, allocations: 288.4 kB / 1.252 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.386, allocations: 32 kB / 1.252 GB, free: 8.836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.3872, allocations: 0.6391 MB / 1.253 GB, free: 8.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3873, allocations: 135.6 kB / 1.253 GB, free: 8.062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3876, allocations: 215 kB / 1.253 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3888, allocations: 0.7526 MB / 1.254 GB, free: 7.098 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3889, allocations: 4 kB / 1.254 GB, free: 7.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3889, allocations: 0 / 1.254 GB, free: 7.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.3889, allocations: 0 / 1.254 GB, free: 7.094 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001174/0.3901, allocations: 0.7127 MB / 1.254 GB, free: 6.332 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3901, allocations: 12.03 kB / 1.254 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.3902, allocations: 62.53 kB / 1.254 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.3913, allocations: 135.4 kB / 1.255 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.392, allocations: 418.3 kB / 1.255 GB, free: 5.664 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.392, allocations: 16.56 kB / 1.255 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.3921, allocations: 27.98 kB / 1.255 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.3926, allocations: 275.6 kB / 1.255 GB, free: 5.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3926, allocations: 4 kB / 1.255 GB, free: 5.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3926, allocations: 12 kB / 1.255 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.3926, allocations: 8.562 kB / 1.255 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.393, allocations: 194.1 kB / 1.255 GB, free: 5.125 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.3948, allocations: 1.322 MB / 1.257 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3952, allocations: 198.8 kB / 1.257 GB, free: 3.457 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3953, allocations: 100.7 kB / 1.257 GB, free: 3.355 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3954, allocations: 4 kB / 1.257 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3954, allocations: 34.56 kB / 1.257 GB, free: 3.309 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.3954, allocations: 3.938 kB / 1.257 GB, free: 3.305 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0009856/0.3964, allocations: 397.2 kB / 1.257 GB, free: 2.891 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3964, allocations: 51.41 kB / 1.258 GB, free: 2.828 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3968, allocations: 304.5 kB / 1.258 GB, free: 2.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.3968, allocations: 29.7 kB / 1.258 GB, free: 2.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3969, allocations: 196.1 kB / 1.258 GB, free: 2.293 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.397, allocations: 63.02 kB / 1.258 GB, free: 2.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.3971, allocations: 57.55 kB / 1.258 GB, free: 2.168 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3972, allocations: 334.8 kB / 1.258 GB, free: 1.832 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3973, allocations: 63.97 kB / 1.259 GB, free: 1.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3975, allocations: 117.9 kB / 1.259 GB, free: 1.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3977, allocations: 192 kB / 1.259 GB, free: 1.426 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3977, allocations: 0 / 1.259 GB, free: 1.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003893/0.3981, allocations: 253.1 kB / 1.259 GB, free: 1.172 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3982, allocations: 4 kB / 1.259 GB, free: 1.168 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3982, allocations: 4 kB / 1.259 GB, free: 1.164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3982, allocations: 0 / 1.259 GB, free: 1.164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3984, allocations: 47.92 kB / 1.259 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.3984, allocations: 4 kB / 1.259 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.3988, allocations: 19.75 kB / 1.259 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3988, allocations: 8 kB / 1.259 GB, free: 1.086 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0001721/0.399, allocations: 166.5 kB / 1.259 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.399, allocations: 31.66 kB / 1.259 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.3991, allocations: 39.08 kB / 1.259 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3991, allocations: 0 / 1.259 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.3992, allocations: 7.984 kB / 1.259 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3992, allocations: 4 kB / 1.259 GB, free: 0.832 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.3997, allocations: 401.3 kB / 1.26 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3997, allocations: 0 / 1.26 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.3999, allocations: 31.92 kB / 1.26 GB, free: 368 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.4001, allocations: 48.77 kB / 1.26 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.4002, allocations: 7.984 kB / 1.26 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4749/0.875, allocations: 1.508 MB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8751, allocations: 1.844 kB / 1.261 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.8757, allocations: 400.1 kB / 1.262 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.8758, allocations: 133 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.8759, allocations: 5.906 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.8761, allocations: 4.859 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.8762, allocations: 14.39 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.8762, allocations: 7.906 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002303/0.8764, allocations: 217.7 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8765, allocations: 1.531 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004501/0.8769, allocations: 106.2 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007605/0.8777, allocations: 0.9456 MB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.878, allocations: 166.2 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.878, allocations: 1.906 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.8783, allocations: 195.8 kB / 1.263 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.8794, allocations: 200.6 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.8828, allocations: 2.92 MB / 1.266 GB, free: 172.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.8831, allocations: 0.7982 MB / 1.267 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.8834, allocations: 65.47 kB / 1.267 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.8836, allocations: 103 kB / 1.267 GB, free: 171.3 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/0.8836, allocations: 0 / 1.267 GB, free: 171.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.9175, allocations: 8.994 MB / 1.276 GB, free: 170.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.541/10.46, allocations: 6.625 kB / 1.276 GB, free: 170.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches