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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001827/0.001827, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 64.05 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3281, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1719/0.5001, allocations: 147 MB / 1.211 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.5044, allocations: 3.608 MB / 1.215 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.5046, allocations: 0 / 1.215 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.505, allocations: 55.77 kB / 1.215 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.5054, allocations: 131.3 kB / 1.215 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.5081, allocations: 0.946 MB / 1.216 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.5087, allocations: 315.7 kB / 1.216 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.5088, allocations: 13.55 kB / 1.216 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.5094, allocations: 187.3 kB / 1.216 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.5097, allocations: 139.5 kB / 1.217 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.5097, allocations: 8 kB / 1.217 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.512, allocations: 1.286 MB / 1.218 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5121, allocations: 67.84 kB / 1.218 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.5123, allocations: 111.5 kB / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.5139, allocations: 0.7365 MB / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.514, allocations: 0 / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.073e-06/0.514, allocations: 0 / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.514, allocations: 0 / 1.219 GB, free: 15.55 MB / 0.9825 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.001288/0.5153, allocations: 0.5811 MB / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5153, allocations: 12.03 kB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.5166, allocations: 136.5 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.5169, allocations: 224 kB / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5169, allocations: 24.25 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.517, allocations: 20 kB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.5176, allocations: 330.3 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5176, allocations: 3.938 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.5176, allocations: 12 kB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.5177, allocations: 15.98 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.5182, allocations: 320.1 kB / 1.22 GB, free: 13.8 MB / 0.9825 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.001728/0.52, allocations: 1.109 MB / 1.221 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.5205, allocations: 186.5 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5207, allocations: 88.8 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.5213, allocations: 461.4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.5213, allocations: 38.56 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.5213, allocations: 0 / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0007195/0.5221, allocations: 261.2 kB / 1.222 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5221, allocations: 55.41 kB / 1.222 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.5223, allocations: 215 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.5224, allocations: 25.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.5225, allocations: 144 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.5225, allocations: 67.02 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.5227, allocations: 57.61 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5228, allocations: 330.8 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5229, allocations: 72.22 kB / 1.223 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.5231, allocations: 155.8 kB / 1.223 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.5235, allocations: 247.4 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5235, allocations: 0 / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005352/0.524, allocations: 291.2 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5241, allocations: 4 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.5241, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5241, allocations: 7.938 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.5244, allocations: 63.91 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5244, allocations: 4 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.5247, allocations: 35.97 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.5247, allocations: 15.98 kB / 1.224 GB, free: 9.574 MB / 0.9825 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.0001448/0.5249, allocations: 137.7 kB / 1.224 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.525, allocations: 23.8 kB / 1.224 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.5255, allocations: 271.9 kB / 1.224 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.5255, allocations: 11.88 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5256, allocations: 4 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5256, allocations: 4 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.5264, allocations: 0.5923 MB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5264, allocations: 4 kB / 1.225 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.5266, allocations: 31.92 kB / 1.225 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5266, allocations: 4 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.5266, allocations: 4 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.5267, allocations: 4 kB / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5267, allocations: 4.062 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.5272, allocations: 346.8 kB / 1.225 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5274, allocations: 120.7 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.5274, allocations: 0 / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.5277, allocations: 25.7 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.5277, allocations: 15.92 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.5278, allocations: 15.98 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001295/0.5279, allocations: 153.4 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5279, allocations: 0 / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005409/0.5285, allocations: 115.9 kB / 1.226 GB, free: 7.602 MB / 0.9825 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.0004994/0.529, allocations: 219.1 kB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.5294, allocations: 215.6 kB / 1.226 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5294, allocations: 0 / 1.226 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.5296, allocations: 108.6 kB / 1.226 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.5302, allocations: 110.2 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.5311, allocations: 0.5172 MB / 1.227 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.5314, allocations: 0.7328 MB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003326/0.5317, allocations: 54.25 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.5318, allocations: 23.44 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.5318, allocations: 0 / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.01086/0.5427, allocations: 5.48 MB / 1.233 GB, free: 168 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches