Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirProperties.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirProperties",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.000879/0.0008789, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005173/0.005173, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.209/2.209, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5291, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1316/0.6607, allocations: 145 MB / 1.165 GB, free: 14.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.6646, allocations: 3.614 MB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.6648, allocations: 3.938 kB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.665, allocations: 59.75 kB / 1.168 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.6653, allocations: 135.3 kB / 1.168 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.6673, allocations: 0.9342 MB / 1.169 GB, free: 9.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.6678, allocations: 0.4916 MB / 1.17 GB, free: 9.105 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.6678, allocations: 13.5 kB / 1.17 GB, free: 9.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.6681, allocations: 163.3 kB / 1.17 GB, free: 8.93 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.6683, allocations: 151.5 kB / 1.17 GB, free: 8.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.6683, allocations: 8 kB / 1.17 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.6702, allocations: 1.531 MB / 1.172 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.6703, allocations: 67.78 kB / 1.172 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.6704, allocations: 129.2 kB / 1.172 GB, free: 7.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008605/0.6713, allocations: 0.7345 MB / 1.173 GB, free: 6.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6713, allocations: 0 / 1.173 GB, free: 6.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6713, allocations: 0 / 1.173 GB, free: 6.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6713, allocations: 0 / 1.173 GB, free: 6.305 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008725/0.6722, allocations: 0.5537 MB / 1.173 GB, free: 5.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6722, allocations: 12.03 kB / 1.173 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/0.6723, allocations: 58.72 kB / 1.173 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6733, allocations: 128.6 kB / 1.173 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.6735, allocations: 223.8 kB / 1.173 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6736, allocations: 16.38 kB / 1.173 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.6736, allocations: 19.98 kB / 1.173 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.6741, allocations: 342.3 kB / 1.174 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6741, allocations: 7.938 kB / 1.174 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.6741, allocations: 8 kB / 1.174 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.6742, allocations: 16 kB / 1.174 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.6746, allocations: 324.1 kB / 1.174 GB, free: 4.504 MB / 0.92 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.001356/0.676, allocations: 1.117 MB / 1.175 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.6764, allocations: 186.5 kB / 1.175 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.6766, allocations: 84.75 kB / 1.176 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.6771, allocations: 461.5 kB / 1.176 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6771, allocations: 34.56 kB / 1.176 GB, free: 2.434 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.6771, allocations: 4 kB / 1.176 GB, free: 2.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0005873/0.6777, allocations: 256.1 kB / 1.176 GB, free: 2.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.6777, allocations: 55.41 kB / 1.176 GB, free: 2.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6779, allocations: 211 kB / 1.176 GB, free: 1.891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.678, allocations: 29.7 kB / 1.177 GB, free: 1.855 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.678, allocations: 148 kB / 1.177 GB, free: 1.707 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.6781, allocations: 78.84 kB / 1.177 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.6782, allocations: 29.7 kB / 1.177 GB, free: 1.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.6783, allocations: 326.8 kB / 1.177 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.6784, allocations: 72.16 kB / 1.177 GB, free: 1.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.6786, allocations: 168.1 kB / 1.177 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.6788, allocations: 241.2 kB / 1.178 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6789, allocations: 7.938 kB / 1.178 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004664/0.6793, allocations: 285.1 kB / 1.178 GB, free: 436 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6793, allocations: 4 kB / 1.178 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6794, allocations: 4.109 kB / 1.178 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6794, allocations: 11.88 kB / 1.178 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.6796, allocations: 56.3 kB / 1.178 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6796, allocations: 7.984 kB / 1.178 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.6798, allocations: 31.69 kB / 1.178 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.6799, allocations: 16 kB / 1.178 GB, free: 304 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001111/0.68, allocations: 134 kB / 1.178 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6801, allocations: 19.81 kB / 1.178 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.6806, allocations: 294.3 kB / 1.178 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6806, allocations: 4 kB / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6806, allocations: 0 / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6806, allocations: 0 / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006476/0.6812, allocations: 0.5786 MB / 1.179 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6813, allocations: 4 kB / 1.179 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.6814, allocations: 31.92 kB / 1.179 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.6814, allocations: 8.062 kB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.6815, allocations: 4 kB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6815, allocations: 7.984 kB / 1.179 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6815, allocations: 0 / 1.179 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.6819, allocations: 347.2 kB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.682, allocations: 124.8 kB / 1.179 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.6821, allocations: 7.938 kB / 1.179 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.6823, allocations: 23.92 kB / 1.179 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.6824, allocations: 15.97 kB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.6824, allocations: 12 kB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001068/0.6825, allocations: 149.5 kB / 1.18 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6825, allocations: 4 kB / 1.18 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004166/0.6829, allocations: 111.9 kB / 1.18 GB, free: 14.33 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009299/0.6839, allocations: 0.9987 MB / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.6842, allocations: 205.2 kB / 1.181 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6842, allocations: 0 / 1.181 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.6843, allocations: 105.6 kB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.685, allocations: 99.98 kB / 1.181 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.6875, allocations: 2.603 MB / 1.184 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.6878, allocations: 0.7328 MB / 1.184 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.688, allocations: 58.25 kB / 1.184 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.6881, allocations: 59.41 kB / 1.184 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.6881, allocations: 0 / 1.184 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.153/2.841, allocations: 7.291 MB / 1.192 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/2.842, allocations: 193.7 kB / 1.192 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/4.828, allocations: 4 kB / 1.192 GB, free: 1.875 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirProperties.fmu > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches