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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001734/0.001734, allocations: 192.3 kB / 16.25 MB, free: 6.586 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.581/1.581, allocations: 222.9 MB / 239.9 MB, free: 4.453 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.852/2.852, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.724, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.185/0.9091, allocations: 147 MB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005483/0.9146, allocations: 3.616 MB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.9148, allocations: 4 kB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.9152, allocations: 55.7 kB / 1.164 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.9157, allocations: 119.4 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.9187, allocations: 0.9381 MB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005094/0.9192, allocations: 331.6 kB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.9193, allocations: 17.56 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.9197, allocations: 183.3 kB / 1.165 GB, free: 9.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.9199, allocations: 139.5 kB / 1.166 GB, free: 9.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.92, allocations: 12 kB / 1.166 GB, free: 9.762 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.9224, allocations: 1.274 MB / 1.167 GB, free: 8.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.9226, allocations: 75.78 kB / 1.167 GB, free: 8.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.9227, allocations: 111.5 kB / 1.167 GB, free: 8.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.9242, allocations: 0.742 MB / 1.168 GB, free: 7.559 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9242, allocations: 0 / 1.168 GB, free: 7.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9242, allocations: 0 / 1.168 GB, free: 7.559 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9243, allocations: 0 / 1.168 GB, free: 7.559 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.001284/0.9255, allocations: 0.5867 MB / 1.168 GB, free: 6.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.9256, allocations: 8.031 kB / 1.168 GB, free: 6.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.927, allocations: 136.5 kB / 1.168 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.9273, allocations: 212.2 kB / 1.169 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.9273, allocations: 20.31 kB / 1.169 GB, free: 6.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.9273, allocations: 20 kB / 1.169 GB, free: 6.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.928, allocations: 342.2 kB / 1.169 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.928, allocations: 3.984 kB / 1.169 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.928, allocations: 8 kB / 1.169 GB, free: 6.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.9281, allocations: 19.92 kB / 1.169 GB, free: 6.113 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.9287, allocations: 320.1 kB / 1.169 GB, free: 5.801 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.001875/0.9305, allocations: 1.125 MB / 1.17 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.9311, allocations: 186.5 kB / 1.171 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.9313, allocations: 84.8 kB / 1.171 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.932, allocations: 457.4 kB / 1.171 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.932, allocations: 34.56 kB / 1.171 GB, free: 3.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.9321, allocations: 4 kB / 1.171 GB, free: 3.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0008603/0.9329, allocations: 265.3 kB / 1.171 GB, free: 3.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.9331, allocations: 55.39 kB / 1.172 GB, free: 3.395 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.9333, allocations: 203.1 kB / 1.172 GB, free: 3.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.9334, allocations: 33.7 kB / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.9335, allocations: 147.9 kB / 1.172 GB, free: 2.996 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.9336, allocations: 74.89 kB / 1.172 GB, free: 2.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.9337, allocations: 57.61 kB / 1.172 GB, free: 2.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.9338, allocations: 334.8 kB / 1.172 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.934, allocations: 68.22 kB / 1.172 GB, free: 2.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.9342, allocations: 152.2 kB / 1.173 GB, free: 2.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.9345, allocations: 246.9 kB / 1.173 GB, free: 1.988 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9346, allocations: 0 / 1.173 GB, free: 1.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005396/0.9351, allocations: 287.2 kB / 1.173 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9351, allocations: 4 kB / 1.173 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.9351, allocations: 4 kB / 1.173 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.9352, allocations: 7.938 kB / 1.173 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.9355, allocations: 60.02 kB / 1.173 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.9355, allocations: 11.88 kB / 1.173 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.9357, allocations: 31.69 kB / 1.173 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.9358, allocations: 16.23 kB / 1.173 GB, free: 1.57 MB / 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.0001433/0.9359, allocations: 137.8 kB / 1.173 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.9361, allocations: 23.8 kB / 1.173 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/0.9367, allocations: 284.9 kB / 1.174 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.9367, allocations: 7.938 kB / 1.174 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9367, allocations: 0 / 1.174 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9367, allocations: 4 kB / 1.174 GB, free: 1.109 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/0.9376, allocations: 0.5818 MB / 1.174 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9376, allocations: 0 / 1.174 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.9378, allocations: 35.98 kB / 1.174 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.9378, allocations: 3.938 kB / 1.174 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.9379, allocations: 4 kB / 1.174 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9379, allocations: 0 / 1.174 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9379, allocations: 4 kB / 1.174 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.9385, allocations: 356.8 kB / 1.175 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.9387, allocations: 116.8 kB / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.9388, allocations: 0 / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.939, allocations: 15.98 kB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.9391, allocations: 27.91 kB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.9391, allocations: 11.98 kB / 1.175 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000138/0.9393, allocations: 149.5 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9393, allocations: 0 / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005231/0.9398, allocations: 115.9 kB / 1.175 GB, free: 15.6 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.0004618/0.9403, allocations: 224.5 kB / 1.175 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.9407, allocations: 212.6 kB / 1.175 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9407, allocations: 0 / 1.175 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.9409, allocations: 107.7 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.9415, allocations: 100.7 kB / 1.176 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.9424, allocations: 0.5284 MB / 1.176 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.9429, allocations: 0.7406 MB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.9432, allocations: 54.25 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.9433, allocations: 23.44 kB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.9433, allocations: 0 / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.01157/0.9549, allocations: 5.468 MB / 1.182 GB, free: 8.168 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches