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.002112/0.002112, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.001778/0.001778, allocations: 161.4 kB / 22.46 MB, free: 5.375 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.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 3.15/3.15, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 1 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.915e-05, allocations: 6.219 kB / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.9114/0.9115, allocations: 131.1 MB / 1.128 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.9155, allocations: 3.294 MB / 1.131 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.9156, allocations: 2.188 kB / 1.131 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.916, allocations: 54.22 kB / 1.131 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.9164, allocations: 147.5 kB / 1.132 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.9195, allocations: 1.078 MB / 1.133 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.92, allocations: 334.1 kB / 1.133 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.92, allocations: 13.11 kB / 1.133 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.9206, allocations: 245.5 kB / 1.133 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.9208, allocations: 121.4 kB / 1.133 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.9208, allocations: 11.22 kB / 1.133 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.9231, allocations: 1.072 MB / 1.134 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.9232, allocations: 75.06 kB / 1.134 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.9233, allocations: 83.08 kB / 1.135 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.9247, allocations: 0.6716 MB / 1.135 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9247, allocations: 1.75 kB / 1.135 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9247, allocations: 0 / 1.135 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.9247, allocations: 0 / 1.135 GB, free: 11.98 MB / 0.9981 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.001125/0.9258, allocations: 0.5243 MB / 1.136 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.9259, allocations: 9.688 kB / 1.136 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.9271, allocations: 133.8 kB / 1.136 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.9274, allocations: 165.4 kB / 1.136 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.9274, allocations: 14.58 kB / 1.136 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.9274, allocations: 18.56 kB / 1.136 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.928, allocations: 0.5955 MB / 1.137 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.9281, allocations: 0.6875 kB / 1.137 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.9281, allocations: 10.59 kB / 1.137 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.9281, allocations: 14.92 kB / 1.137 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/0.9287, allocations: 323.5 kB / 1.137 GB, free: 11.05 MB / 0.9981 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.001443/0.9302, allocations: 0.8994 MB / 1.138 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.9306, allocations: 176.5 kB / 1.138 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.9308, allocations: 78.83 kB / 1.138 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.9312, allocations: 76.62 kB / 1.138 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.9312, allocations: 38.8 kB / 1.138 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.9312, allocations: 0 / 1.138 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.000698/0.9319, allocations: 257.8 kB / 1.138 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.9319, allocations: 52.97 kB / 1.138 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.9321, allocations: 172.4 kB / 1.139 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.9321, allocations: 32.69 kB / 1.139 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.9322, allocations: 153.5 kB / 1.139 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.9323, allocations: 79.12 kB / 1.139 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.9324, allocations: 58.86 kB / 1.139 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.9325, allocations: 325.9 kB / 1.139 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.9327, allocations: 70.95 kB / 1.139 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.9329, allocations: 156.1 kB / 1.139 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.9333, allocations: 249.8 kB / 1.14 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9333, allocations: 4 kB / 1.14 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00066/0.9339, allocations: 281.2 kB / 1.14 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.934, allocations: 6.5 kB / 1.14 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.934, allocations: 2.734 kB / 1.14 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/0.934, allocations: 4.438 kB / 1.14 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.9343, allocations: 53.66 kB / 1.14 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.9343, allocations: 13.83 kB / 1.14 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.9345, allocations: 28.91 kB / 1.14 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.9346, allocations: 12.05 kB / 1.14 GB, free: 9.32 MB / 0.9981 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.0001531/0.9347, allocations: 145.5 kB / 1.14 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.9349, allocations: 21.41 kB / 1.14 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.9355, allocations: 273 kB / 1.14 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9355, allocations: 2.953 kB / 1.14 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9355, allocations: 0 / 1.14 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9355, allocations: 6.484 kB / 1.141 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/0.9364, allocations: 0.5219 MB / 1.141 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9364, allocations: 1.188 kB / 1.141 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.9365, allocations: 32.62 kB / 1.141 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.9365, allocations: 1.625 kB / 1.141 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.9366, allocations: 7.938 kB / 1.141 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.9366, allocations: 6.844 kB / 1.141 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9366, allocations: 3.984 kB / 1.141 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.9372, allocations: 343.5 kB / 1.141 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.9374, allocations: 38.55 kB / 1.141 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.9374, allocations: 10.08 kB / 1.141 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.9378, allocations: 18.88 kB / 1.141 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.9379, allocations: 11.05 kB / 1.141 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.9379, allocations: 14.53 kB / 1.141 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001438/0.9381, allocations: 119.3 kB / 1.142 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9381, allocations: 0 / 1.142 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008979/0.939, allocations: 128.1 kB / 1.142 GB, free: 8.586 MB / 0.9981 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.0006479/0.9396, allocations: 230.1 kB / 1.142 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.9401, allocations: 196.6 kB / 1.142 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9401, allocations: 0 / 1.142 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.9403, allocations: 102.3 kB / 1.142 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.9408, allocations: 62.06 kB / 1.142 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.9416, allocations: 433.6 kB / 1.143 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.9417, allocations: 130.3 kB / 1.143 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000207/0.9419, allocations: 51.92 kB / 1.143 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.942, allocations: 21.41 kB / 1.143 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.942, allocations: 5.312 kB / 1.143 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of Templates: time 0.01061/0.9526, allocations: 4.588 MB / 1.147 GB, free: 7.582 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 800] 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: 9.649012874811888]