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.001518/0.001518, allocations: 113.3 kB / 16.37 MB, free: 6.004 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.00171/0.00171, allocations: 197.6 kB / 17.31 MB, free: 5.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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.25 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7901/1.107, allocations: 149.1 MB / 1.172 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004764/1.111, allocations: 3.619 MB / 1.176 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/1.112, allocations: 1.312 kB / 1.176 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/1.112, allocations: 60.23 kB / 1.176 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003453/1.112, allocations: 140.5 kB / 1.176 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/1.116, allocations: 1.002 MB / 1.177 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/1.116, allocations: 327.6 kB / 1.177 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/1.116, allocations: 10.62 kB / 1.177 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/1.117, allocations: 182.1 kB / 1.178 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/1.117, allocations: 138.5 kB / 1.178 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/1.117, allocations: 14.62 kB / 1.178 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/1.119, allocations: 1.225 MB / 1.179 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/1.119, allocations: 70.94 kB / 1.179 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/1.12, allocations: 101.2 kB / 1.179 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/1.121, allocations: 0.6408 MB / 1.18 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.121, allocations: 0 / 1.18 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/1.121, allocations: 0 / 1.18 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.121, allocations: 0 / 1.18 GB, free: 6.953 MB / 0.8887 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.001225/1.122, allocations: 0.5915 MB / 1.18 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.122, allocations: 9.219 kB / 1.18 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/1.123, allocations: 132.5 kB / 1.18 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/1.124, allocations: 220.3 kB / 1.181 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/1.124, allocations: 20.25 kB / 1.181 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/1.124, allocations: 19.47 kB / 1.181 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/1.125, allocations: 334.2 kB / 1.181 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.125, allocations: 4 kB / 1.181 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/1.125, allocations: 7.5 kB / 1.181 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/1.125, allocations: 15.39 kB / 1.181 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/1.125, allocations: 330.7 kB / 1.181 GB, free: 5.742 MB / 0.8887 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.001738/1.127, allocations: 1.108 MB / 1.182 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/1.128, allocations: 196 kB / 1.183 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/1.128, allocations: 78.28 kB / 1.183 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/1.128, allocations: 461.9 kB / 1.183 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.128, allocations: 37.97 kB / 1.183 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 1.963e-06/1.128, allocations: 0 / 1.183 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.0007408/1.129, allocations: 265 kB / 1.183 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.129, allocations: 53.34 kB / 1.183 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/1.129, allocations: 204.6 kB / 1.184 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/1.129, allocations: 30.84 kB / 1.184 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/1.13, allocations: 149.9 kB / 1.184 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/1.13, allocations: 83.83 kB / 1.184 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.13, allocations: 53.52 kB / 1.184 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.13, allocations: 327.2 kB / 1.184 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/1.13, allocations: 70.69 kB / 1.184 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/1.13, allocations: 160.2 kB / 1.184 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/1.131, allocations: 245.9 kB / 1.185 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.131, allocations: 5.156 kB / 1.185 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005539/1.131, allocations: 284.8 kB / 1.185 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.131, allocations: 10.3 kB / 1.185 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.131, allocations: 5.219 kB / 1.185 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.131, allocations: 9.094 kB / 1.185 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/1.132, allocations: 56.89 kB / 1.185 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.132, allocations: 11.42 kB / 1.185 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/1.132, allocations: 28.09 kB / 1.185 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.132, allocations: 15.06 kB / 1.185 GB, free: 2.57 MB / 0.8887 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.0001523/1.132, allocations: 134.5 kB / 1.185 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/1.132, allocations: 24.58 kB / 1.185 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/1.133, allocations: 289.6 kB / 1.185 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.133, allocations: 6.062 kB / 1.185 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.133, allocations: 0 / 1.185 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.133, allocations: 5.125 kB / 1.186 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/1.134, allocations: 0.5769 MB / 1.186 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/1.134, allocations: 5.031 kB / 1.186 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/1.134, allocations: 37.92 kB / 1.186 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.134, allocations: 1.375 kB / 1.186 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/1.134, allocations: 6.312 kB / 1.186 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.134, allocations: 1.188 kB / 1.186 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.134, allocations: 5.25 kB / 1.186 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/1.135, allocations: 345.2 kB / 1.186 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/1.135, allocations: 120.2 kB / 1.187 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/1.135, allocations: 10.92 kB / 1.187 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/1.135, allocations: 5.844 kB / 1.187 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/1.135, allocations: 17.8 kB / 1.187 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/1.135, allocations: 14.17 kB / 1.187 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001572/1.135, allocations: 148.9 kB / 1.187 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.135, allocations: 0 / 1.187 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006996/1.136, allocations: 124.6 kB / 1.187 GB, free: 1.246 MB / 0.8887 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.0005929/1.137, allocations: 225.6 kB / 1.187 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.137, allocations: 208.8 kB / 1.187 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.137, allocations: 1.562 kB / 1.187 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/1.137, allocations: 102.6 kB / 1.187 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/1.138, allocations: 100.2 kB / 1.187 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/1.139, allocations: 464.5 kB / 1.188 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.139, allocations: 0.7329 MB / 1.189 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002274/1.14, allocations: 56.38 kB / 1.189 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/1.14, allocations: 27.88 kB / 1.189 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/1.14, allocations: 0 / 1.189 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.01123/1.151, allocations: 5.494 MB / 1.194 GB, free: 13.11 MB / 0.9044 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 -s cvode -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