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.001804/0.001804, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.00182/0.00182, allocations: 210.6 kB / 22.24 MB, free: 5.117 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.801 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.407/3.407, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002092/0.002092, allocations: 63.34 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4109, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.191/0.6019, allocations: 131.1 MB / 1.454 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.6066, allocations: 3.295 MB / 1.457 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.6067, allocations: 0 / 1.457 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.607, allocations: 59.59 kB / 1.457 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.6074, allocations: 131.3 kB / 1.457 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.6102, allocations: 1.054 MB / 1.458 GB, free: 9.691 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.6106, allocations: 327.7 kB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.6106, allocations: 9.688 kB / 1.458 GB, free: 9.359 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.6111, allocations: 207.1 kB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.6113, allocations: 127.5 kB / 1.459 GB, free: 9.031 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.6113, allocations: 12 kB / 1.459 GB, free: 9.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.6133, allocations: 1.052 MB / 1.46 GB, free: 7.965 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.6134, allocations: 75.78 kB / 1.46 GB, free: 7.891 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.6136, allocations: 87.66 kB / 1.46 GB, free: 7.805 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.6147, allocations: 0.627 MB / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6147, allocations: 0 / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6147, allocations: 0 / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6147, allocations: 0 / 1.46 GB, free: 7.176 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.00117/0.6158, allocations: 0.5204 MB / 1.461 GB, free: 6.625 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6159, allocations: 8.031 kB / 1.461 GB, free: 6.617 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.6171, allocations: 144.6 kB / 1.461 GB, free: 6.477 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.6174, allocations: 166.2 kB / 1.461 GB, free: 6.289 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.6174, allocations: 16.31 kB / 1.461 GB, free: 6.273 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.6174, allocations: 23.98 kB / 1.461 GB, free: 6.25 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.6182, allocations: 0.5853 MB / 1.462 GB, free: 5.582 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6182, allocations: 7.938 kB / 1.462 GB, free: 5.574 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.6182, allocations: 12 kB / 1.462 GB, free: 5.562 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.6183, allocations: 11.98 kB / 1.462 GB, free: 5.551 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.6188, allocations: 316.1 kB / 1.462 GB, free: 5.242 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.001665/0.6205, allocations: 0.9073 MB / 1.463 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.621, allocations: 174.4 kB / 1.463 GB, free: 4.105 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.6212, allocations: 76.81 kB / 1.463 GB, free: 4.027 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.6215, allocations: 83.92 kB / 1.463 GB, free: 3.945 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6216, allocations: 38.5 kB / 1.463 GB, free: 3.898 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.6216, allocations: 0 / 1.463 GB, free: 3.898 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0007037/0.6223, allocations: 262.8 kB / 1.464 GB, free: 3.637 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.6223, allocations: 55.34 kB / 1.464 GB, free: 3.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.6225, allocations: 168.2 kB / 1.464 GB, free: 3.398 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.6225, allocations: 33.7 kB / 1.464 GB, free: 3.359 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.6226, allocations: 144.3 kB / 1.464 GB, free: 3.215 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.6227, allocations: 75.33 kB / 1.464 GB, free: 3.141 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.6228, allocations: 61.66 kB / 1.464 GB, free: 3.074 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.623, allocations: 326.8 kB / 1.464 GB, free: 2.746 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.6231, allocations: 64.23 kB / 1.465 GB, free: 2.68 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.6233, allocations: 168.1 kB / 1.465 GB, free: 2.477 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.6237, allocations: 244.7 kB / 1.465 GB, free: 2.199 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6237, allocations: 7.938 kB / 1.465 GB, free: 2.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005689/0.6243, allocations: 282.4 kB / 1.465 GB, free: 1.91 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6243, allocations: 9.406 kB / 1.465 GB, free: 1.902 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6243, allocations: 0 / 1.465 GB, free: 1.902 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.6243, allocations: 11.94 kB / 1.465 GB, free: 1.891 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.6246, allocations: 47.92 kB / 1.465 GB, free: 1.844 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.6246, allocations: 7.984 kB / 1.465 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.6248, allocations: 27.78 kB / 1.465 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.6248, allocations: 12 kB / 1.465 GB, free: 1.797 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.0001543/0.625, allocations: 142 kB / 1.465 GB, free: 1.648 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6251, allocations: 15.91 kB / 1.465 GB, free: 1.633 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.6256, allocations: 290.6 kB / 1.466 GB, free: 1.344 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6256, allocations: 0 / 1.466 GB, free: 1.344 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6256, allocations: 4 kB / 1.466 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6256, allocations: 0 / 1.466 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.6264, allocations: 0.5204 MB / 1.466 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6264, allocations: 3.938 kB / 1.466 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.6266, allocations: 27.94 kB / 1.466 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6266, allocations: 0 / 1.466 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.6266, allocations: 7.984 kB / 1.466 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6266, allocations: 64 / 1.466 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.6266, allocations: 8 kB / 1.466 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.6272, allocations: 344.4 kB / 1.467 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6273, allocations: 51.69 kB / 1.467 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.6273, allocations: 4 kB / 1.467 GB, free: 328 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.6276, allocations: 11.98 kB / 1.467 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.6276, allocations: 15.92 kB / 1.467 GB, free: 300 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.6276, allocations: 15.98 kB / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001014/0.6277, allocations: 116.9 kB / 1.467 GB, free: 168 kB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6277, allocations: 0 / 1.467 GB, free: 168 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005125/0.6283, allocations: 127.8 kB / 1.467 GB, free: 40 kB / 1.154 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.0004552/0.6287, allocations: 219.1 kB / 1.467 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.6291, allocations: 216 kB / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6291, allocations: 0 / 1.467 GB, free: 15.61 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.6293, allocations: 99.83 kB / 1.467 GB, free: 15.51 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.6298, allocations: 53.67 kB / 1.468 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.6307, allocations: 468.1 kB / 1.468 GB, free: 14.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.6309, allocations: 128.4 kB / 1.468 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002384/0.6311, allocations: 49.59 kB / 1.468 GB, free: 14.78 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.6312, allocations: 27.42 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of SimCode: time 4.71e-07/0.6312, allocations: 4 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of Templates: time 0.0106/0.6418, allocations: 4.894 MB / 1.473 GB, free: 9.941 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 -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: 10.215565606951714]