Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_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.007893/0.007893, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.00168/0.00168, allocations: 200 kB / 16.68 MB, free: 5.922 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.14 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7947, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1656/0.9604, allocations: 149.1 MB / 1.353 GB, free: 7.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0043/0.9648, allocations: 3.602 MB / 1.356 GB, free: 4.227 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.965, allocations: 8 kB / 1.356 GB, free: 4.219 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.9654, allocations: 59.64 kB / 1.356 GB, free: 4.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.9659, allocations: 135.2 kB / 1.357 GB, free: 4.027 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.9686, allocations: 1.008 MB / 1.358 GB, free: 3.016 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.9691, allocations: 323.7 kB / 1.358 GB, free: 2.695 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.9692, allocations: 21.48 kB / 1.358 GB, free: 2.676 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.9697, allocations: 187.2 kB / 1.358 GB, free: 2.492 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.9699, allocations: 131.5 kB / 1.358 GB, free: 2.363 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.97, allocations: 8 kB / 1.358 GB, free: 2.355 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.9723, allocations: 1.22 MB / 1.359 GB, free: 1.133 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.9724, allocations: 67.78 kB / 1.36 GB, free: 1.066 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.9726, allocations: 111.5 kB / 1.36 GB, free: 0.957 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.9741, allocations: 0.6412 MB / 1.36 GB, free: 324 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9742, allocations: 4 kB / 1.36 GB, free: 320 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9742, allocations: 0 / 1.36 GB, free: 320 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.9742, allocations: 0 / 1.36 GB, free: 320 kB / 1.076 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.001371/0.9756, allocations: 0.5811 MB / 1.361 GB, free: 15.68 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9756, allocations: 12.03 kB / 1.361 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.783e-05/0.9757, allocations: 62.72 kB / 1.361 GB, free: 15.6 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.977, allocations: 128.6 kB / 1.361 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.9773, allocations: 223.8 kB / 1.361 GB, free: 15.22 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.9773, allocations: 16.38 kB / 1.361 GB, free: 15.2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.9774, allocations: 20 kB / 1.361 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.978, allocations: 338.3 kB / 1.362 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.978, allocations: 0 / 1.362 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.978, allocations: 8 kB / 1.362 GB, free: 14.83 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.9781, allocations: 12 kB / 1.362 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.9786, allocations: 320.1 kB / 1.362 GB, free: 14.5 MB / 1.092 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.00176/0.9804, allocations: 1.129 MB / 1.363 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.9809, allocations: 186.5 kB / 1.363 GB, free: 13.09 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.9811, allocations: 88.75 kB / 1.363 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/0.9817, allocations: 457.5 kB / 1.364 GB, free: 12.46 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.9818, allocations: 34.56 kB / 1.364 GB, free: 12.42 MB / 1.092 GB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/0.9818, allocations: 0 / 1.364 GB, free: 12.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=21): time 0.0007068/0.9825, allocations: 259.9 kB / 1.364 GB, free: 12.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.9825, allocations: 59.34 kB / 1.364 GB, free: 12.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.9828, allocations: 211 kB / 1.364 GB, free: 11.87 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.9829, allocations: 29.7 kB / 1.364 GB, free: 11.84 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.983, allocations: 140 kB / 1.364 GB, free: 11.7 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.983, allocations: 78.83 kB / 1.364 GB, free: 11.62 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.9832, allocations: 53.7 kB / 1.365 GB, free: 11.56 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9833, allocations: 326.8 kB / 1.365 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.9834, allocations: 80.17 kB / 1.365 GB, free: 11.15 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.9836, allocations: 155.7 kB / 1.365 GB, free: 10.96 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.984, allocations: 246.9 kB / 1.365 GB, free: 10.68 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.984, allocations: 3.938 kB / 1.365 GB, free: 10.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005472/0.9845, allocations: 283.3 kB / 1.366 GB, free: 10.39 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.9846, allocations: 8 kB / 1.366 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.9846, allocations: 0 / 1.366 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.9846, allocations: 7.938 kB / 1.366 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.9849, allocations: 67.91 kB / 1.366 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.9849, allocations: 8.047 kB / 1.366 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.9851, allocations: 35.53 kB / 1.366 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.9852, allocations: 12 kB / 1.366 GB, free: 10.26 MB / 1.092 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.0001465/0.9853, allocations: 141.9 kB / 1.366 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.9855, allocations: 19.81 kB / 1.366 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.986, allocations: 279.2 kB / 1.366 GB, free: 9.816 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.986, allocations: 4 kB / 1.366 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.986, allocations: 3.984 kB / 1.366 GB, free: 9.809 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.986, allocations: 3.938 kB / 1.366 GB, free: 9.805 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.9868, allocations: 0.574 MB / 1.367 GB, free: 9.168 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9868, allocations: 4.062 kB / 1.367 GB, free: 9.164 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.987, allocations: 35.98 kB / 1.367 GB, free: 9.129 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.987, allocations: 4 kB / 1.367 GB, free: 9.125 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.987, allocations: 3.984 kB / 1.367 GB, free: 9.121 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.987, allocations: 0 / 1.367 GB, free: 9.121 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9871, allocations: 4 kB / 1.367 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.9876, allocations: 355.2 kB / 1.367 GB, free: 8.754 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.9877, allocations: 124.7 kB / 1.367 GB, free: 8.613 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.9878, allocations: 0 / 1.367 GB, free: 8.613 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.9881, allocations: 17.53 kB / 1.367 GB, free: 8.598 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.9881, allocations: 11.98 kB / 1.367 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.9882, allocations: 15.94 kB / 1.367 GB, free: 8.57 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001475/0.9883, allocations: 153.5 kB / 1.367 GB, free: 8.422 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9883, allocations: 0 / 1.367 GB, free: 8.422 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005904/0.9889, allocations: 112 kB / 1.367 GB, free: 8.312 MB / 1.092 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.001313/0.9902, allocations: 1.002 MB / 1.368 GB, free: 7.273 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.9906, allocations: 203.6 kB / 1.369 GB, free: 7.074 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9907, allocations: 0 / 1.369 GB, free: 7.074 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.9908, allocations: 110.9 kB / 1.369 GB, free: 6.969 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.9915, allocations: 91.97 kB / 1.369 GB, free: 6.879 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.9947, allocations: 2.48 MB / 1.371 GB, free: 4.234 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.9951, allocations: 0.7367 MB / 1.372 GB, free: 3.473 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.9953, allocations: 62.23 kB / 1.372 GB, free: 3.41 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.9955, allocations: 59.41 kB / 1.372 GB, free: 3.352 MB / 1.092 GB Notification: Performance of SimCode: time 7.72e-07/0.9955, allocations: 0 / 1.372 GB, free: 3.352 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/1.024, allocations: 7.82 MB / 1.38 GB, free: 11.66 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.978, allocations: 8.828 kB / 1.38 GB, free: 11.66 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches