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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 60.14 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5266, allocations: 151.6 MB / 1.017 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1382/0.6649, allocations: 149.1 MB / 1.163 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003725/0.6686, allocations: 3.598 MB / 1.167 GB, free: 9.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.6687, allocations: 0 / 1.167 GB, free: 9.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.6691, allocations: 75.56 kB / 1.167 GB, free: 9.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.6694, allocations: 131.2 kB / 1.167 GB, free: 9.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.6716, allocations: 1.015 MB / 1.168 GB, free: 8.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.6719, allocations: 323.6 kB / 1.168 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.672, allocations: 9.562 kB / 1.168 GB, free: 7.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.6724, allocations: 191.2 kB / 1.168 GB, free: 7.551 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.6725, allocations: 139.5 kB / 1.168 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.6726, allocations: 12 kB / 1.168 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.6744, allocations: 1.212 MB / 1.17 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.6745, allocations: 67.84 kB / 1.17 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.6746, allocations: 107.5 kB / 1.17 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.6755, allocations: 0.6374 MB / 1.17 GB, free: 5.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6755, allocations: 0 / 1.17 GB, free: 5.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6755, allocations: 0 / 1.17 GB, free: 5.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6755, allocations: 0 / 1.17 GB, free: 5.379 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.0009828/0.6765, allocations: 0.5889 MB / 1.171 GB, free: 4.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6766, allocations: 8.031 kB / 1.171 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.6766, allocations: 58.73 kB / 1.171 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.6778, allocations: 136.6 kB / 1.171 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.678, allocations: 227.7 kB / 1.171 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.678, allocations: 16.31 kB / 1.171 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.6781, allocations: 23.98 kB / 1.171 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.6786, allocations: 334.3 kB / 1.172 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6786, allocations: 0 / 1.172 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.6786, allocations: 12 kB / 1.172 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.6787, allocations: 15.98 kB / 1.172 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.6792, allocations: 324.1 kB / 1.172 GB, free: 3.543 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.001423/0.6806, allocations: 1.117 MB / 1.173 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.6811, allocations: 182.5 kB / 1.173 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.6812, allocations: 88.75 kB / 1.173 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/0.6817, allocations: 461.5 kB / 1.174 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.6817, allocations: 34.55 kB / 1.174 GB, free: 1.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.6817, allocations: 0 / 1.174 GB, free: 1.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0006084/0.6824, allocations: 268.3 kB / 1.174 GB, free: 1.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.6824, allocations: 59.41 kB / 1.174 GB, free: 1.137 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.6826, allocations: 203.2 kB / 1.174 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.6826, allocations: 33.64 kB / 1.174 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.6827, allocations: 143.9 kB / 1.174 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.6827, allocations: 74.94 kB / 1.175 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.6828, allocations: 57.61 kB / 1.175 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.6829, allocations: 326.8 kB / 1.175 GB, free: 284 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.683, allocations: 76.22 kB / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.6832, allocations: 167.6 kB / 1.175 GB, free: 0 / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.6835, allocations: 239 kB / 1.175 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6835, allocations: 3.938 kB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004845/0.684, allocations: 285.4 kB / 1.176 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.684, allocations: 8 kB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.684, allocations: 4 kB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6841, allocations: 7.938 kB / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.6843, allocations: 59.92 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6843, allocations: 7.984 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.6845, allocations: 27.69 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.6846, allocations: 12 kB / 1.176 GB, free: 15.32 MB / 0.9356 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.0001094/0.6847, allocations: 138.4 kB / 1.176 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.6848, allocations: 19.81 kB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.6853, allocations: 293 kB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6853, allocations: 0 / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6853, allocations: 4 kB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6853, allocations: 3.984 kB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.686, allocations: 0.5741 MB / 1.177 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.686, allocations: 8 kB / 1.177 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.6862, allocations: 43.92 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.6862, allocations: 0 / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.6862, allocations: 4 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6862, allocations: 3.984 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6862, allocations: 4 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.6867, allocations: 356.7 kB / 1.177 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6868, allocations: 120.8 kB / 1.177 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.6869, allocations: 0 / 1.177 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.6871, allocations: 12 kB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.6872, allocations: 11.98 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.6872, allocations: 15.98 kB / 1.177 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001112/0.6873, allocations: 145.5 kB / 1.177 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6873, allocations: 0 / 1.177 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004584/0.6878, allocations: 120 kB / 1.178 GB, free: 13.35 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.0009629/0.6888, allocations: 1 MB / 1.179 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.6891, allocations: 217.2 kB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6892, allocations: 0.75 kB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.6893, allocations: 107.7 kB / 1.179 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.6899, allocations: 101.5 kB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.6925, allocations: 2.488 MB / 1.181 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6928, allocations: 0.7367 MB / 1.182 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.6931, allocations: 58.23 kB / 1.182 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.6932, allocations: 59.41 kB / 1.182 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.6932, allocations: 0 / 1.182 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2296/0.9228, allocations: 7.669 MB / 1.19 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.785, allocations: 11.73 kB / 1.19 GB, free: 0.8203 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