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.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.0007861/0.0007861, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008914/0.0008914, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8484/0.8484, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.674/1.674, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.954e-05, allocations: 6.219 kB / 0.9997 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5626/0.5626, allocations: 131.1 MB / 1.128 GB, free: 4.695 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.5655, allocations: 3.293 MB / 1.131 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.5657, allocations: 5.312 kB / 1.131 GB, free: 2.535 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.566, allocations: 63.81 kB / 1.131 GB, free: 2.484 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.5663, allocations: 136.8 kB / 1.131 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.5685, allocations: 1.077 MB / 1.132 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.5689, allocations: 335.2 kB / 1.132 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.569, allocations: 11.23 kB / 1.132 GB, free: 1.398 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.5694, allocations: 263.3 kB / 1.133 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.5696, allocations: 113.3 kB / 1.133 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.5696, allocations: 10.44 kB / 1.133 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5714, allocations: 1.068 MB / 1.134 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.5715, allocations: 71.86 kB / 1.134 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.5716, allocations: 82.62 kB / 1.134 GB, free: 500 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.5727, allocations: 0.6707 MB / 1.135 GB, free: 112 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5727, allocations: 1.219 kB / 1.135 GB, free: 112 kB / 0.9792 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5727, allocations: 4 kB / 1.135 GB, free: 108 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.5727, allocations: 0 / 1.135 GB, free: 108 kB / 0.9792 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.001017/0.5738, allocations: 0.5218 MB / 1.135 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5738, allocations: 14.38 kB / 1.135 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.5738, allocations: 58.44 kB / 1.135 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.5745, allocations: 132 kB / 1.135 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.5747, allocations: 169.5 kB / 1.136 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5747, allocations: 12.41 kB / 1.136 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.5748, allocations: 19.84 kB / 1.136 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.5753, allocations: 0.595 MB / 1.136 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5753, allocations: 0 / 1.136 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5753, allocations: 15.78 kB / 1.136 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.5753, allocations: 15.55 kB / 1.136 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.5757, allocations: 317.1 kB / 1.137 GB, free: 14.67 MB / 0.9948 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.001111/0.5768, allocations: 0.9422 MB / 1.137 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.5772, allocations: 171.3 kB / 1.138 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.5773, allocations: 80.48 kB / 1.138 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.5775, allocations: 75.34 kB / 1.138 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5775, allocations: 38.06 kB / 1.138 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.5775, allocations: 0 / 1.138 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.0004695/0.578, allocations: 276.4 kB / 1.138 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.578, allocations: 57.94 kB / 1.138 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.5782, allocations: 205.1 kB / 1.138 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5782, allocations: 32.45 kB / 1.138 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.5783, allocations: 149.4 kB / 1.138 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.5783, allocations: 72.3 kB / 1.139 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.5784, allocations: 54 kB / 1.139 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.5785, allocations: 334.7 kB / 1.139 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.5786, allocations: 68.27 kB / 1.139 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5787, allocations: 163.4 kB / 1.139 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.579, allocations: 242 kB / 1.139 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.579, allocations: 1.156 kB / 1.139 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003744/0.5793, allocations: 290.1 kB / 1.14 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5794, allocations: 11.41 kB / 1.14 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5794, allocations: 2.25 kB / 1.14 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5794, allocations: 4.875 kB / 1.14 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5795, allocations: 53.16 kB / 1.14 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5795, allocations: 4.312 kB / 1.14 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.5797, allocations: 36.55 kB / 1.14 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.5797, allocations: 15.56 kB / 1.14 GB, free: 12.19 MB / 0.9948 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.0001002/0.5798, allocations: 137.9 kB / 1.14 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.5799, allocations: 20.22 kB / 1.14 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.5802, allocations: 289.2 kB / 1.14 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.5802, allocations: 6.656 kB / 1.14 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5802, allocations: 0 / 1.14 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5802, allocations: 7.922 kB / 1.14 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5807, allocations: 0.5552 MB / 1.141 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5807, allocations: 1.531 kB / 1.141 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.5808, allocations: 26.31 kB / 1.141 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.5808, allocations: 5.578 kB / 1.141 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5808, allocations: 9.656 kB / 1.141 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5808, allocations: 2.406 kB / 1.141 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5808, allocations: 4.062 kB / 1.141 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.5812, allocations: 349.1 kB / 1.141 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.5812, allocations: 44.64 kB / 1.141 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.5813, allocations: 6.312 kB / 1.141 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.5814, allocations: 14.61 kB / 1.141 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.5814, allocations: 12.89 kB / 1.141 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.5814, allocations: 18.2 kB / 1.141 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.059e-05/0.5815, allocations: 151.4 kB / 1.141 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5815, allocations: 0 / 1.141 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004069/0.5819, allocations: 122.4 kB / 1.141 GB, free: 11 MB / 0.9948 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.0008093/0.5827, allocations: 0.9988 MB / 1.142 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.583, allocations: 210.9 kB / 1.143 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.583, allocations: 0 / 1.143 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.5831, allocations: 92.67 kB / 1.143 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.5835, allocations: 99.16 kB / 1.143 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.5855, allocations: 2.485 MB / 1.145 GB, free: 8.043 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.755e-05/0.5856, allocations: 123.6 kB / 1.145 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.5858, allocations: 60.31 kB / 1.145 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.5859, allocations: 64.78 kB / 1.146 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of SimCode: time 5.71e-07/0.5859, allocations: 0 / 1.146 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.6087, allocations: 8.909 MB / 1.154 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/7.27, allocations: 9.188 kB / 1.154 GB, free: 3.145 MB / 0.9948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.13111494667828]