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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: 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_latest_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_latest_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.0008089/0.000809, allocations: 98.8 kB / 16.02 MB, free: 76 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.000886/0.000886, allocations: 185 kB / 16.92 MB, free: 6.895 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003707, allocations: 11.75 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1518/0.457, allocations: 145 MB / 1.201 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.4613, allocations: 3.614 MB / 1.204 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.4615, allocations: 4 kB / 1.204 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.4619, allocations: 55.75 kB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.4623, allocations: 135.3 kB / 1.205 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.465, allocations: 0.9449 MB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.4655, allocations: 499.4 kB / 1.206 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.4656, allocations: 13.56 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.466, allocations: 167.3 kB / 1.206 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.4663, allocations: 143.5 kB / 1.206 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.4664, allocations: 12 kB / 1.206 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.4689, allocations: 1.527 MB / 1.208 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.469, allocations: 67.78 kB / 1.208 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.4692, allocations: 133.2 kB / 1.208 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.47, allocations: 443.3 kB / 1.208 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4701, allocations: 0 / 1.208 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.123e-06/0.4701, allocations: 0 / 1.208 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4701, allocations: 0 / 1.208 GB, free: 11.76 MB / 0.9669 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.001132/0.4712, allocations: 0.5499 MB / 1.209 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4713, allocations: 19.91 kB / 1.209 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.4725, allocations: 132.6 kB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4728, allocations: 228 kB / 1.209 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4728, allocations: 16.31 kB / 1.209 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.4729, allocations: 16 kB / 1.209 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.4735, allocations: 338.3 kB / 1.21 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4735, allocations: 0 / 1.21 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.4735, allocations: 16 kB / 1.21 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.4736, allocations: 15.98 kB / 1.21 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.4741, allocations: 320.1 kB / 1.21 GB, free: 10.03 MB / 0.9669 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.001521/0.4756, allocations: 1.105 MB / 1.211 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.4761, allocations: 182.5 kB / 1.211 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4763, allocations: 88.8 kB / 1.211 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.4768, allocations: 453.4 kB / 1.212 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4769, allocations: 42.56 kB / 1.212 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.4769, allocations: 0 / 1.212 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006483/0.4775, allocations: 267.8 kB / 1.212 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.4776, allocations: 55.41 kB / 1.212 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4777, allocations: 199.1 kB / 1.212 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4778, allocations: 29.7 kB / 1.212 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.4779, allocations: 155.9 kB / 1.212 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.4779, allocations: 67 kB / 1.213 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.478, allocations: 29.72 kB / 1.213 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4781, allocations: 330.8 kB / 1.213 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4782, allocations: 72.22 kB / 1.213 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.4784, allocations: 160.7 kB / 1.213 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.4787, allocations: 237 kB / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4787, allocations: 0 / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005023/0.4792, allocations: 293 kB / 1.214 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4793, allocations: 5.406 kB / 1.214 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4793, allocations: 4 kB / 1.214 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4793, allocations: 7.938 kB / 1.214 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.4796, allocations: 56.02 kB / 1.214 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.4796, allocations: 11.94 kB / 1.214 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.4798, allocations: 32.06 kB / 1.214 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.4799, allocations: 19.98 kB / 1.214 GB, free: 5.844 MB / 0.9669 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.0001192/0.48, allocations: 137.7 kB / 1.214 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4801, allocations: 31.64 kB / 1.214 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.4806, allocations: 276.8 kB / 1.214 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4806, allocations: 7.938 kB / 1.214 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4806, allocations: 4 kB / 1.214 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4806, allocations: 0 / 1.214 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.4813, allocations: 0.5818 MB / 1.215 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4813, allocations: 8 kB / 1.215 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.4815, allocations: 31.92 kB / 1.215 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4815, allocations: 4 kB / 1.215 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4816, allocations: 4 kB / 1.215 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4816, allocations: 8.062 kB / 1.215 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4816, allocations: 0 / 1.215 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.4821, allocations: 350.2 kB / 1.215 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4822, allocations: 116.8 kB / 1.215 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4822, allocations: 4 kB / 1.215 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.4825, allocations: 23.98 kB / 1.215 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4825, allocations: 11.92 kB / 1.215 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.4826, allocations: 19.98 kB / 1.215 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001238/0.4827, allocations: 148.3 kB / 1.215 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4827, allocations: 0 / 1.215 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004919/0.4832, allocations: 123.8 kB / 1.216 GB, free: 3.863 MB / 0.9669 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.0004009/0.4836, allocations: 211.1 kB / 1.216 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.484, allocations: 210.2 kB / 1.216 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.484, allocations: 0.75 kB / 1.216 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.4841, allocations: 107.9 kB / 1.216 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.4848, allocations: 106.4 kB / 1.216 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.4856, allocations: 0.591 MB / 1.217 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4859, allocations: 0.7404 MB / 1.217 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.486, allocations: 27.44 kB / 1.217 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.486, allocations: 4 kB / 1.217 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of Templates: time 0.006646/0.4926, allocations: 4.328 MB / 1.222 GB, free: 13.51 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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