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.001943/0.001943, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002434/0.002434, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.335/3.335, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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: 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.00202/0.00202, allocations: 64.92 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4366, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1927/0.6293, allocations: 131.1 MB / 1.455 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.6342, allocations: 3.287 MB / 1.458 GB, free: 10.1 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.6343, allocations: 7.938 kB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.6348, allocations: 59.64 kB / 1.458 GB, free: 10.03 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.6352, allocations: 139.2 kB / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.6384, allocations: 1.045 MB / 1.46 GB, free: 8.848 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.6389, allocations: 327.6 kB / 1.46 GB, free: 8.523 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.639, allocations: 9.75 kB / 1.46 GB, free: 8.516 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.6394, allocations: 199.2 kB / 1.46 GB, free: 8.32 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.6396, allocations: 143.5 kB / 1.46 GB, free: 8.18 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.6397, allocations: 8 kB / 1.46 GB, free: 8.172 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.6417, allocations: 1.063 MB / 1.461 GB, free: 7.105 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.6418, allocations: 75.78 kB / 1.461 GB, free: 7.031 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.642, allocations: 99.59 kB / 1.461 GB, free: 6.934 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.6432, allocations: 0.6231 MB / 1.462 GB, free: 6.309 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6432, allocations: 0 / 1.462 GB, free: 6.309 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6432, allocations: 0 / 1.462 GB, free: 6.309 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.6432, allocations: 0 / 1.462 GB, free: 6.309 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.001275/0.6444, allocations: 0.5243 MB / 1.462 GB, free: 5.754 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6445, allocations: 12.03 kB / 1.463 GB, free: 5.742 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.6457, allocations: 132.6 kB / 1.463 GB, free: 5.613 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.646, allocations: 170.2 kB / 1.463 GB, free: 5.422 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.646, allocations: 16.31 kB / 1.463 GB, free: 5.406 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.6461, allocations: 19.98 kB / 1.463 GB, free: 5.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.6469, allocations: 0.597 MB / 1.463 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6469, allocations: 0 / 1.463 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.6469, allocations: 12 kB / 1.463 GB, free: 4.695 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.647, allocations: 12 kB / 1.463 GB, free: 4.684 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.6475, allocations: 320.1 kB / 1.464 GB, free: 4.371 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.001704/0.6492, allocations: 0.8995 MB / 1.465 GB, free: 3.422 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.6498, allocations: 182.4 kB / 1.465 GB, free: 3.234 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.6499, allocations: 80.8 kB / 1.465 GB, free: 3.152 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004167/0.6503, allocations: 75.94 kB / 1.465 GB, free: 3.078 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.6504, allocations: 42.44 kB / 1.465 GB, free: 3.027 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.6504, allocations: 0 / 1.465 GB, free: 3.027 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0007007/0.6511, allocations: 261.6 kB / 1.465 GB, free: 2.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.6511, allocations: 59.41 kB / 1.465 GB, free: 2.699 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.6513, allocations: 168.4 kB / 1.465 GB, free: 2.527 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.6513, allocations: 25.7 kB / 1.465 GB, free: 2.496 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.6515, allocations: 152.3 kB / 1.466 GB, free: 2.344 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.6515, allocations: 79.3 kB / 1.466 GB, free: 2.266 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6516, allocations: 53.66 kB / 1.466 GB, free: 2.207 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6518, allocations: 326.8 kB / 1.466 GB, free: 1.879 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.6519, allocations: 72.22 kB / 1.466 GB, free: 1.805 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.6521, allocations: 160.1 kB / 1.466 GB, free: 1.609 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.6525, allocations: 248.6 kB / 1.467 GB, free: 1.328 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6525, allocations: 3.938 kB / 1.467 GB, free: 1.324 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000551/0.6531, allocations: 277.2 kB / 1.467 GB, free: 1.047 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6531, allocations: 11.94 kB / 1.467 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6531, allocations: 4 kB / 1.467 GB, free: 1.031 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.6531, allocations: 11.92 kB / 1.467 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.6534, allocations: 47.92 kB / 1.467 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6534, allocations: 4 kB / 1.467 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.6536, allocations: 28.16 kB / 1.467 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.6536, allocations: 20 kB / 1.467 GB, free: 0.9219 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.0001579/0.6538, allocations: 138.1 kB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.6539, allocations: 31.83 kB / 1.467 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.6544, allocations: 270.6 kB / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6544, allocations: 4 kB / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6544, allocations: 0 / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.6545, allocations: 3.984 kB / 1.467 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.6552, allocations: 0.51 MB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.6553, allocations: 8 kB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.6554, allocations: 27.92 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.6554, allocations: 8 kB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6554, allocations: 4 kB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.6554, allocations: 4 kB / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6555, allocations: 0 / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.656, allocations: 350.8 kB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6561, allocations: 51.69 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.6562, allocations: 4 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.6564, allocations: 15.98 kB / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.6564, allocations: 15.97 kB / 1.468 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.6565, allocations: 12 kB / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001126/0.6566, allocations: 121.5 kB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6566, allocations: 0 / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00056/0.6571, allocations: 123.7 kB / 1.469 GB, free: 15.16 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.000475/0.6576, allocations: 238.7 kB / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.658, allocations: 200.7 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.658, allocations: 0 / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.6582, allocations: 99.81 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.6587, allocations: 52.83 kB / 1.469 GB, free: 14.58 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.6595, allocations: 458.7 kB / 1.47 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.6597, allocations: 120.4 kB / 1.47 GB, free: 13.96 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.6599, allocations: 53.59 kB / 1.47 GB, free: 13.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.6599, allocations: 19.44 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/0.6599, allocations: 0 / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of Templates: time 0.0106/0.6705, allocations: 4.997 MB / 1.475 GB, free: 8.992 MB / 1.17 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 -s cvode -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.828000740992138]