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.001258/0.001258, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001398/0.001398, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.984 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 2.979/2.979, allocations: 0.4899 GB / 0.795 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.001922/0.001922, allocations: 70.83 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3478, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1796/0.5274, allocations: 152.4 MB / 1.475 GB, free: 8.391 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005825/0.5332, allocations: 3.662 MB / 1.479 GB, free: 4.719 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.5334, allocations: 3.938 kB / 1.479 GB, free: 4.715 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.5338, allocations: 67.62 kB / 1.479 GB, free: 4.648 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.5343, allocations: 139.2 kB / 1.479 GB, free: 4.512 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.5372, allocations: 1.051 MB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.5377, allocations: 323.7 kB / 1.48 GB, free: 3.141 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.5378, allocations: 9.75 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.5382, allocations: 203.1 kB / 1.481 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.5385, allocations: 139.5 kB / 1.481 GB, free: 2.797 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.5385, allocations: 19.92 kB / 1.481 GB, free: 2.777 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.5409, allocations: 1.321 MB / 1.482 GB, free: 1.453 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.5411, allocations: 75.78 kB / 1.482 GB, free: 1.379 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.5412, allocations: 107.5 kB / 1.482 GB, free: 1.273 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.5427, allocations: 0.6426 MB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5427, allocations: 0 / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5427, allocations: 0 / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5427, allocations: 0 / 1.483 GB, free: 0.6289 MB / 1.17 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.001341/0.5441, allocations: 0.5282 MB / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5441, allocations: 12.03 kB / 1.483 GB, free: 60 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.5454, allocations: 132.7 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.5457, allocations: 166.2 kB / 1.484 GB, free: 15.74 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5457, allocations: 20.3 kB / 1.484 GB, free: 15.72 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.5457, allocations: 16 kB / 1.484 GB, free: 15.71 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.5463, allocations: 358.3 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5463, allocations: 0 / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.5463, allocations: 4 kB / 1.484 GB, free: 15.33 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.5464, allocations: 16 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.5469, allocations: 328.1 kB / 1.484 GB, free: 15 MB / 1.186 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.001738/0.5487, allocations: 1.081 MB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.5492, allocations: 182.4 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.5493, allocations: 76.75 kB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.5497, allocations: 83.86 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5497, allocations: 38.47 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 1.634e-06/0.5497, allocations: 0 / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.0006806/0.5504, allocations: 255.3 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5504, allocations: 55.41 kB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.5507, allocations: 215.1 kB / 1.486 GB, free: 12.89 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.5507, allocations: 33.7 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5508, allocations: 140.2 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.5509, allocations: 83.3 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.551, allocations: 49.7 kB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5511, allocations: 326.8 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.5513, allocations: 76.16 kB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.5515, allocations: 168.1 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.5518, allocations: 244.6 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5518, allocations: 4 kB / 1.487 GB, free: 11.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005368/0.5524, allocations: 287.4 kB / 1.488 GB, free: 11.4 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5524, allocations: 8 kB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5524, allocations: 0 / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.5524, allocations: 12.05 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.5527, allocations: 64.22 kB / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5527, allocations: 7.938 kB / 1.488 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.5529, allocations: 31.73 kB / 1.488 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.5529, allocations: 16 kB / 1.488 GB, free: 11.26 MB / 1.186 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.0001431/0.5531, allocations: 138 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.5532, allocations: 27.89 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.5537, allocations: 277.3 kB / 1.488 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.5537, allocations: 7.938 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5537, allocations: 4 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5537, allocations: 3.984 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.5546, allocations: 0.5592 MB / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5546, allocations: 3.938 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.5547, allocations: 27.98 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5547, allocations: 4 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.5548, allocations: 4 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.5548, allocations: 12.06 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5548, allocations: 3.938 kB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.5554, allocations: 354 kB / 1.489 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5555, allocations: 47.75 kB / 1.489 GB, free: 9.719 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.5555, allocations: 4 kB / 1.489 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.5558, allocations: 19.94 kB / 1.489 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.5558, allocations: 11.97 kB / 1.489 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.5558, allocations: 16 kB / 1.489 GB, free: 9.668 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001476/0.556, allocations: 145.5 kB / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.556, allocations: 0 / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005343/0.5565, allocations: 123.8 kB / 1.489 GB, free: 9.406 MB / 1.186 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.0004729/0.557, allocations: 226.8 kB / 1.49 GB, free: 9.172 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.5574, allocations: 195.8 kB / 1.49 GB, free: 8.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5574, allocations: 0 / 1.49 GB, free: 8.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.5575, allocations: 100.5 kB / 1.49 GB, free: 8.883 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.5581, allocations: 109.1 kB / 1.49 GB, free: 8.777 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5592, allocations: 464.5 kB / 1.49 GB, free: 8.293 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.5597, allocations: 0.7367 MB / 1.491 GB, free: 7.531 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.5599, allocations: 54.25 kB / 1.491 GB, free: 7.477 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.56, allocations: 23.44 kB / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/0.56, allocations: 0 / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of Templates: time 0.01267/0.5727, allocations: 5.754 MB / 1.497 GB, free: 1.773 MB / 1.186 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 8.599080597050488]