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.001355/0.001355, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001516/0.001516, allocations: 161 kB / 23.01 MB, free: 4.602 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.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 2.818/2.818, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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: 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_12_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_12_Buildings.Media.Examples.AirProperties") [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.002455/0.002455, allocations: 63.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26/1.262, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2073/1.47, allocations: 131.1 MB / 1.282 GB, free: 8.984 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005307/1.475, allocations: 3.276 MB / 1.285 GB, free: 6.844 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/1.475, allocations: 1.188 kB / 1.285 GB, free: 6.844 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/1.475, allocations: 65.88 kB / 1.285 GB, free: 6.812 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/1.476, allocations: 141.2 kB / 1.285 GB, free: 6.727 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/1.479, allocations: 1.053 MB / 1.286 GB, free: 6.211 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005402/1.48, allocations: 325.9 kB / 1.287 GB, free: 6.074 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/1.48, allocations: 9.047 kB / 1.287 GB, free: 6.07 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/1.48, allocations: 201.7 kB / 1.287 GB, free: 5.984 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/1.481, allocations: 127.5 kB / 1.287 GB, free: 5.941 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/1.481, allocations: 11.69 kB / 1.287 GB, free: 5.941 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/1.483, allocations: 1.058 MB / 1.288 GB, free: 5.535 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/1.483, allocations: 75.22 kB / 1.288 GB, free: 5.504 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/1.483, allocations: 93.66 kB / 1.288 GB, free: 5.469 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/1.485, allocations: 0.6214 MB / 1.289 GB, free: 5.27 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.485, allocations: 1.766 kB / 1.289 GB, free: 5.27 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.974e-06/1.485, allocations: 0 / 1.289 GB, free: 5.27 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.485, allocations: 0 / 1.289 GB, free: 5.27 MB / 1.139 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.001296/1.486, allocations: 0.5228 MB / 1.289 GB, free: 4.867 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.486, allocations: 14.25 kB / 1.289 GB, free: 4.863 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.487, allocations: 134.9 kB / 1.289 GB, free: 4.836 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/1.488, allocations: 168.2 kB / 1.29 GB, free: 4.68 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/1.488, allocations: 20.06 kB / 1.29 GB, free: 4.668 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/1.488, allocations: 16.41 kB / 1.29 GB, free: 4.664 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/1.489, allocations: 0.5825 MB / 1.29 GB, free: 4.203 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.489, allocations: 3.938 kB / 1.29 GB, free: 4.199 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.489, allocations: 12.14 kB / 1.29 GB, free: 4.191 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/1.489, allocations: 14.14 kB / 1.29 GB, free: 4.191 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/1.489, allocations: 319.4 kB / 1.291 GB, free: 4.113 MB / 1.139 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.001756/1.491, allocations: 0.904 MB / 1.291 GB, free: 3.441 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/1.492, allocations: 179.8 kB / 1.292 GB, free: 3.387 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.492, allocations: 81.34 kB / 1.292 GB, free: 3.359 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/1.492, allocations: 77.44 kB / 1.292 GB, free: 3.348 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.492, allocations: 37.19 kB / 1.292 GB, free: 3.305 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/1.492, allocations: 0 / 1.292 GB, free: 3.305 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.0007345/1.493, allocations: 261.3 kB / 1.292 GB, free: 3.215 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.493, allocations: 53.94 kB / 1.292 GB, free: 3.152 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/1.493, allocations: 170.7 kB / 1.292 GB, free: 3.027 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/1.493, allocations: 31.02 kB / 1.292 GB, free: 2.992 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/1.493, allocations: 149.3 kB / 1.292 GB, free: 2.859 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/1.493, allocations: 79.3 kB / 1.293 GB, free: 2.797 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.493, allocations: 55.75 kB / 1.293 GB, free: 2.762 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.494, allocations: 321.9 kB / 1.293 GB, free: 2.445 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/1.494, allocations: 74.06 kB / 1.293 GB, free: 2.426 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/1.494, allocations: 158.9 kB / 1.293 GB, free: 2.305 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/1.494, allocations: 250.1 kB / 1.293 GB, free: 2.141 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.494, allocations: 5.562 kB / 1.293 GB, free: 2.137 MB / 1.139 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005628/1.495, allocations: 283.1 kB / 1.294 GB, free: 2.031 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.495, allocations: 11.97 kB / 1.294 GB, free: 2.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.495, allocations: 2.531 kB / 1.294 GB, free: 2.027 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.495, allocations: 9.094 kB / 1.294 GB, free: 2.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/1.495, allocations: 53.78 kB / 1.294 GB, free: 2.016 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.495, allocations: 5.938 kB / 1.294 GB, free: 2.016 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/1.495, allocations: 27.75 kB / 1.294 GB, free: 1.996 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/1.496, allocations: 15 kB / 1.294 GB, free: 1.992 MB / 1.139 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.0001508/1.496, allocations: 136.9 kB / 1.294 GB, free: 1.863 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.496, allocations: 21 kB / 1.294 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/1.496, allocations: 289.6 kB / 1.294 GB, free: 1.727 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.496, allocations: 7.281 kB / 1.294 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.496, allocations: 0.7031 kB / 1.294 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.496, allocations: 1.969 kB / 1.294 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/1.497, allocations: 0.5125 MB / 1.295 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.497, allocations: 8 kB / 1.295 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/1.497, allocations: 25.58 kB / 1.295 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.497, allocations: 6.562 kB / 1.295 GB, free: 1.375 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/1.497, allocations: 5.906 kB / 1.295 GB, free: 1.371 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.497, allocations: 3.359 kB / 1.295 GB, free: 1.371 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.497, allocations: 0 / 1.295 GB, free: 1.371 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/1.498, allocations: 341.2 kB / 1.295 GB, free: 1.172 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/1.498, allocations: 51.02 kB / 1.295 GB, free: 1.145 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/1.498, allocations: 6.562 kB / 1.295 GB, free: 1.141 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/1.498, allocations: 20.44 kB / 1.295 GB, free: 1.129 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/1.498, allocations: 15.83 kB / 1.295 GB, free: 1.125 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/1.498, allocations: 15.2 kB / 1.295 GB, free: 1.121 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001062/1.499, allocations: 116.4 kB / 1.295 GB, free: 1.039 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.499, allocations: 0 / 1.295 GB, free: 1.039 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006323/1.499, allocations: 121.7 kB / 1.295 GB, free: 1.016 MB / 1.139 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.0004677/1.5, allocations: 227 kB / 1.296 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004449/1.5, allocations: 211 kB / 1.296 GB, free: 0.832 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.5, allocations: 0.9375 kB / 1.296 GB, free: 0.832 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/1.5, allocations: 97.3 kB / 1.296 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/1.501, allocations: 52.14 kB / 1.296 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/1.502, allocations: 465.5 kB / 1.296 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/1.502, allocations: 126.3 kB / 1.296 GB, free: 452 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002293/1.502, allocations: 54.67 kB / 1.297 GB, free: 428 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/1.502, allocations: 21.72 kB / 1.297 GB, free: 420 kB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/1.502, allocations: 1.844 kB / 1.297 GB, free: 420 kB / 1.139 GB Notification: Performance of Templates: time 0.01086/1.513, allocations: 4.596 MB / 1.301 GB, free: 14.38 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] 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: 9.90558132599108]