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.001386/0.001386, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001435/0.001435, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.306/3.306, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002047/0.002047, allocations: 67.98 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1638/0.4678, allocations: 131.1 MB / 1.455 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00436/0.4721, allocations: 3.295 MB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.4722, allocations: 7.938 kB / 1.458 GB, free: 10.08 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.4726, allocations: 59.66 kB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.4729, allocations: 131.2 kB / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.4753, allocations: 1.049 MB / 1.46 GB, free: 8.844 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.4757, allocations: 327.6 kB / 1.46 GB, free: 8.52 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.4758, allocations: 9.75 kB / 1.46 GB, free: 8.512 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.4761, allocations: 207.1 kB / 1.46 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.4763, allocations: 139.5 kB / 1.46 GB, free: 8.172 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.4764, allocations: 8 kB / 1.46 GB, free: 8.164 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.4781, allocations: 1.063 MB / 1.461 GB, free: 7.098 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.4782, allocations: 71.78 kB / 1.461 GB, free: 7.027 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.4783, allocations: 99.64 kB / 1.461 GB, free: 6.93 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009478/0.4792, allocations: 0.6153 MB / 1.462 GB, free: 6.312 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4792, allocations: 0 / 1.462 GB, free: 6.312 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4792, allocations: 0 / 1.462 GB, free: 6.312 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4793, allocations: 0 / 1.462 GB, free: 6.312 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.001142/0.4804, allocations: 0.5243 MB / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.4804, allocations: 12.03 kB / 1.463 GB, free: 5.746 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.4817, allocations: 140.6 kB / 1.463 GB, free: 5.609 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.482, allocations: 162.2 kB / 1.463 GB, free: 5.426 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.482, allocations: 24.25 kB / 1.463 GB, free: 5.402 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.482, allocations: 16 kB / 1.463 GB, free: 5.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.4828, allocations: 0.5892 MB / 1.463 GB, free: 4.715 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4828, allocations: 0 / 1.463 GB, free: 4.715 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.4828, allocations: 8 kB / 1.463 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.4828, allocations: 19.98 kB / 1.463 GB, free: 4.688 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.4834, allocations: 324.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.001652/0.485, allocations: 0.9072 MB / 1.465 GB, free: 3.414 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.4856, allocations: 170.5 kB / 1.465 GB, free: 3.238 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4857, allocations: 76.81 kB / 1.465 GB, free: 3.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/0.4861, allocations: 83.91 kB / 1.465 GB, free: 3.078 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.4861, allocations: 42.5 kB / 1.465 GB, free: 3.027 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.4861, allocations: 4 kB / 1.465 GB, free: 3.023 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0006862/0.4868, allocations: 256.3 kB / 1.465 GB, free: 2.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4868, allocations: 55.41 kB / 1.465 GB, free: 2.703 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.487, allocations: 172.2 kB / 1.465 GB, free: 2.527 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.487, allocations: 25.7 kB / 1.465 GB, free: 2.496 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.4871, allocations: 148.3 kB / 1.466 GB, free: 2.348 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.4872, allocations: 79.31 kB / 1.466 GB, free: 2.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.4873, allocations: 57.64 kB / 1.466 GB, free: 2.207 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4874, allocations: 326.8 kB / 1.466 GB, free: 1.879 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4876, allocations: 68.23 kB / 1.466 GB, free: 1.809 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.4878, allocations: 164.1 kB / 1.466 GB, free: 1.609 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.4881, allocations: 243.9 kB / 1.467 GB, free: 1.332 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4881, allocations: 7.875 kB / 1.467 GB, free: 1.324 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005562/0.4887, allocations: 280.2 kB / 1.467 GB, free: 1.047 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4887, allocations: 7.938 kB / 1.467 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4887, allocations: 4 kB / 1.467 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4887, allocations: 8.312 kB / 1.467 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.489, allocations: 63.91 kB / 1.467 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.489, allocations: 4 kB / 1.467 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.4892, allocations: 27.78 kB / 1.467 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.4893, allocations: 12 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.0001394/0.4894, allocations: 138 kB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.4895, allocations: 19.91 kB / 1.467 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.49, allocations: 278.6 kB / 1.467 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4901, allocations: 7.938 kB / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4901, allocations: 0 / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4901, allocations: 4 kB / 1.467 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.4908, allocations: 0.5177 MB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4908, allocations: 3.938 kB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.491, allocations: 31.92 kB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.491, allocations: 0 / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.491, allocations: 4 kB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.491, allocations: 4 kB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.491, allocations: 0 / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.4916, allocations: 359.2 kB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4917, allocations: 43.77 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.4917, allocations: 8 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.492, allocations: 11.98 kB / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.492, allocations: 11.98 kB / 1.468 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4921, allocations: 15.98 kB / 1.468 GB, free: 15.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.4922, allocations: 117.5 kB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.4922, allocations: 0 / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005006/0.4927, allocations: 123.8 kB / 1.469 GB, free: 15.17 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.0004379/0.4931, allocations: 230.8 kB / 1.469 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.4935, allocations: 211.2 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4935, allocations: 0 / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4936, allocations: 92.64 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.4941, allocations: 68 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.000795/0.4949, allocations: 454.7 kB / 1.47 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.4951, allocations: 132.4 kB / 1.47 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.4953, allocations: 41.62 kB / 1.47 GB, free: 13.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.4953, allocations: 23.42 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of SimCode: time 3.7e-07/0.4953, allocations: 4 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of Templates: time 0.009925/0.5053, allocations: 4.996 MB / 1.475 GB, free: 8.98 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 gbode -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.062968717989861]