Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 218.2 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 68.33 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3698, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1736/0.5434, allocations: 131.1 MB / 1.454 GB, free: 13.87 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004534/0.5479, allocations: 3.302 MB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.5481, allocations: 0 / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.5485, allocations: 59.66 kB / 1.457 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.5488, allocations: 135.2 kB / 1.457 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.5518, allocations: 1.051 MB / 1.458 GB, free: 9.312 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.5523, allocations: 319.8 kB / 1.459 GB, free: 8.996 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.5524, allocations: 13.67 kB / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.5528, allocations: 207.4 kB / 1.459 GB, free: 8.781 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.5531, allocations: 127.5 kB / 1.459 GB, free: 8.656 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.5531, allocations: 12 kB / 1.459 GB, free: 8.645 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.5559, allocations: 1.063 MB / 1.46 GB, free: 7.578 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.556, allocations: 71.78 kB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.5561, allocations: 99.64 kB / 1.46 GB, free: 7.41 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.5576, allocations: 0.6231 MB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5576, allocations: 3.938 kB / 1.461 GB, free: 6.781 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5576, allocations: 4 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5576, allocations: 0 / 1.461 GB, free: 6.777 MB / 1.154 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.001383/0.559, allocations: 0.5165 MB / 1.461 GB, free: 6.23 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.559, allocations: 12.03 kB / 1.461 GB, free: 6.219 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.5592, allocations: 58.72 kB / 1.461 GB, free: 6.152 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.5604, allocations: 144.6 kB / 1.461 GB, free: 6.012 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.5608, allocations: 166 kB / 1.462 GB, free: 5.824 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.5608, allocations: 12.38 kB / 1.462 GB, free: 5.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.5608, allocations: 20 kB / 1.462 GB, free: 5.793 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.5616, allocations: 0.5931 MB / 1.462 GB, free: 5.117 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5616, allocations: 0 / 1.462 GB, free: 5.117 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.5617, allocations: 12 kB / 1.462 GB, free: 5.105 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.5617, allocations: 12 kB / 1.462 GB, free: 5.094 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.5623, allocations: 320.1 kB / 1.463 GB, free: 4.781 MB / 1.154 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.001782/0.5641, allocations: 0.9535 MB / 1.464 GB, free: 3.766 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.5646, allocations: 178.4 kB / 1.464 GB, free: 3.582 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.5647, allocations: 84.73 kB / 1.464 GB, free: 3.496 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/0.5651, allocations: 79.94 kB / 1.464 GB, free: 3.418 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.5651, allocations: 34.56 kB / 1.464 GB, free: 3.375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.5652, allocations: 0 / 1.464 GB, free: 3.375 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0006993/0.5658, allocations: 263.1 kB / 1.464 GB, free: 3.113 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5659, allocations: 51.41 kB / 1.464 GB, free: 3.051 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.5661, allocations: 211.1 kB / 1.464 GB, free: 2.832 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.5661, allocations: 33.7 kB / 1.464 GB, free: 2.793 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5662, allocations: 148.2 kB / 1.465 GB, free: 2.641 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.5663, allocations: 83.27 kB / 1.465 GB, free: 2.559 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.5664, allocations: 53.66 kB / 1.465 GB, free: 2.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5666, allocations: 330.8 kB / 1.465 GB, free: 2.168 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.5667, allocations: 72.22 kB / 1.465 GB, free: 2.098 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5669, allocations: 156.2 kB / 1.465 GB, free: 1.906 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.5672, allocations: 245 kB / 1.465 GB, free: 1.629 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5673, allocations: 3.938 kB / 1.465 GB, free: 1.625 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005377/0.5678, allocations: 290.4 kB / 1.466 GB, free: 1.336 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5678, allocations: 6.031 kB / 1.466 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5678, allocations: 4 kB / 1.466 GB, free: 1.328 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.5678, allocations: 7.938 kB / 1.466 GB, free: 1.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.5681, allocations: 55.91 kB / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5681, allocations: 7.938 kB / 1.466 GB, free: 1.258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.5683, allocations: 27.78 kB / 1.466 GB, free: 1.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.5684, allocations: 16 kB / 1.466 GB, free: 1.215 MB / 1.154 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.000136/0.5685, allocations: 138 kB / 1.466 GB, free: 1.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5686, allocations: 28.02 kB / 1.466 GB, free: 1.043 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.5691, allocations: 279.3 kB / 1.466 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5691, allocations: 0 / 1.466 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5691, allocations: 4.109 kB / 1.466 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5691, allocations: 7.922 kB / 1.466 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.5699, allocations: 0.5545 MB / 1.467 GB, free: 148 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5699, allocations: 8 kB / 1.467 GB, free: 140 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.5701, allocations: 23.98 kB / 1.467 GB, free: 116 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5701, allocations: 7.984 kB / 1.467 GB, free: 108 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5701, allocations: 8.062 kB / 1.467 GB, free: 100 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5701, allocations: 4 kB / 1.467 GB, free: 96 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5701, allocations: 0 / 1.467 GB, free: 96 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.5708, allocations: 359.1 kB / 1.467 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.5709, allocations: 39.81 kB / 1.467 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.5709, allocations: 8 kB / 1.467 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.5712, allocations: 11.98 kB / 1.467 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.5712, allocations: 11.98 kB / 1.467 GB, free: 15.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.5713, allocations: 15.98 kB / 1.467 GB, free: 15.64 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001343/0.5714, allocations: 149.5 kB / 1.467 GB, free: 15.49 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5714, allocations: 4 kB / 1.467 GB, free: 15.49 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005112/0.5719, allocations: 119.8 kB / 1.468 GB, free: 15.37 MB / 1.17 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.001245/0.5732, allocations: 1.002 MB / 1.469 GB, free: 14.34 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.5735, allocations: 201.6 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5735, allocations: 4 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.5737, allocations: 91.89 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.5743, allocations: 96.7 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.5775, allocations: 2.514 MB / 1.471 GB, free: 11.28 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.5777, allocations: 124.4 kB / 1.471 GB, free: 11.14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002491/0.5779, allocations: 62.19 kB / 1.472 GB, free: 11.08 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.578, allocations: 59.41 kB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of SimCode: time 1.062e-06/0.578, allocations: 0 / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.6183, allocations: 8.902 MB / 1.48 GB, free: 2.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.06, allocations: 9.594 kB / 1.48 GB, free: 2.355 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_AirProperties.fmu > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.89163530798396]