Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 193.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.011/3.011, allocations: 0.4893 GB / 0.7884 GB, free: 33.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 65.62 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3434, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1719/0.5153, allocations: 149.6 MB / 1.462 GB, free: 3.508 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.5197, allocations: 3.629 MB / 1.466 GB, free: 15.87 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.5198, allocations: 3.938 kB / 1.466 GB, free: 15.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.5201, allocations: 71.64 kB / 1.466 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.5204, allocations: 139.2 kB / 1.466 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.5228, allocations: 1.054 MB / 1.467 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.5232, allocations: 327.6 kB / 1.467 GB, free: 14.28 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.5233, allocations: 5.75 kB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.5237, allocations: 211.1 kB / 1.467 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.5239, allocations: 139.5 kB / 1.468 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.5239, allocations: 12 kB / 1.468 GB, free: 13.92 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.5259, allocations: 1.313 MB / 1.469 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.526, allocations: 75.78 kB / 1.469 GB, free: 12.53 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.5262, allocations: 103.6 kB / 1.469 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000949/0.5271, allocations: 0.6348 MB / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5271, allocations: 0 / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5271, allocations: 0 / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5271, allocations: 0 / 1.47 GB, free: 11.79 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.00107/0.5282, allocations: 0.5321 MB / 1.47 GB, free: 11.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.5282, allocations: 8.031 kB / 1.47 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5293, allocations: 132.7 kB / 1.47 GB, free: 11.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.5296, allocations: 170.2 kB / 1.47 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5296, allocations: 16.31 kB / 1.47 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.5296, allocations: 16 kB / 1.47 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.5302, allocations: 342.3 kB / 1.471 GB, free: 10.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5302, allocations: 7.922 kB / 1.471 GB, free: 10.51 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.5302, allocations: 12 kB / 1.471 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.5303, allocations: 15.98 kB / 1.471 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.5308, allocations: 324.1 kB / 1.471 GB, free: 10.16 MB / 1.17 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.001581/0.5324, allocations: 1.085 MB / 1.472 GB, free: 8.992 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.5328, allocations: 178.5 kB / 1.472 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.5329, allocations: 76.81 kB / 1.472 GB, free: 8.73 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.5333, allocations: 79.86 kB / 1.473 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5333, allocations: 46.56 kB / 1.473 GB, free: 8.598 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.5333, allocations: 3.938 kB / 1.473 GB, free: 8.594 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.0006419/0.534, allocations: 263.2 kB / 1.473 GB, free: 8.332 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.534, allocations: 51.41 kB / 1.473 GB, free: 8.27 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.5342, allocations: 212.1 kB / 1.473 GB, free: 8.051 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.5343, allocations: 29.7 kB / 1.473 GB, free: 8.016 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.5344, allocations: 148.2 kB / 1.473 GB, free: 7.867 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.5344, allocations: 79.38 kB / 1.473 GB, free: 7.789 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.5345, allocations: 53.66 kB / 1.473 GB, free: 7.73 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5346, allocations: 330.8 kB / 1.474 GB, free: 7.398 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5348, allocations: 72.22 kB / 1.474 GB, free: 7.328 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.5349, allocations: 160.2 kB / 1.474 GB, free: 7.133 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.5353, allocations: 243.6 kB / 1.474 GB, free: 6.855 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5353, allocations: 8 kB / 1.474 GB, free: 6.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004996/0.5358, allocations: 294 kB / 1.474 GB, free: 6.555 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5358, allocations: 5.562 kB / 1.474 GB, free: 6.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5358, allocations: 4 kB / 1.474 GB, free: 6.547 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.5358, allocations: 8.312 kB / 1.474 GB, free: 6.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.5361, allocations: 55.92 kB / 1.475 GB, free: 6.484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5361, allocations: 7.984 kB / 1.475 GB, free: 6.477 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.5363, allocations: 35.72 kB / 1.475 GB, free: 6.441 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.5363, allocations: 12 kB / 1.475 GB, free: 6.43 MB / 1.17 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.0001193/0.5364, allocations: 133.8 kB / 1.475 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5365, allocations: 27.84 kB / 1.475 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.537, allocations: 276.5 kB / 1.475 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.537, allocations: 3.938 kB / 1.475 GB, free: 5.984 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.537, allocations: 4 kB / 1.475 GB, free: 5.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.537, allocations: 0 / 1.475 GB, free: 5.98 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007113/0.5377, allocations: 0.5673 MB / 1.476 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5377, allocations: 0 / 1.476 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.5379, allocations: 35.92 kB / 1.476 GB, free: 5.324 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5379, allocations: 0 / 1.476 GB, free: 5.324 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.538, allocations: 8 kB / 1.476 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.538, allocations: 4.062 kB / 1.476 GB, free: 5.312 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.538, allocations: 0 / 1.476 GB, free: 5.312 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.5385, allocations: 350.2 kB / 1.476 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.5386, allocations: 39.81 kB / 1.476 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.5386, allocations: 15.98 kB / 1.476 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.5388, allocations: 12 kB / 1.476 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.5389, allocations: 23.89 kB / 1.476 GB, free: 4.859 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.5389, allocations: 12 kB / 1.476 GB, free: 4.848 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001279/0.539, allocations: 149.5 kB / 1.476 GB, free: 4.703 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.539, allocations: 0 / 1.476 GB, free: 4.703 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004574/0.5395, allocations: 119.8 kB / 1.476 GB, free: 4.586 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.0003846/0.5399, allocations: 219.1 kB / 1.476 GB, free: 4.359 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.5402, allocations: 209.4 kB / 1.477 GB, free: 4.156 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5402, allocations: 4 kB / 1.477 GB, free: 4.152 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.5404, allocations: 96.53 kB / 1.477 GB, free: 4.059 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.5409, allocations: 95.91 kB / 1.477 GB, free: 3.965 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.5417, allocations: 472.7 kB / 1.477 GB, free: 3.473 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.542, allocations: 0.7328 MB / 1.478 GB, free: 2.715 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.5422, allocations: 62.25 kB / 1.478 GB, free: 2.652 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.5423, allocations: 23.44 kB / 1.478 GB, free: 2.633 MB / 1.17 GB Notification: Performance of SimCode: time 4.3e-07/0.5423, allocations: 0 / 1.478 GB, free: 2.633 MB / 1.17 GB Notification: Performance of Templates: time 0.01054/0.5528, allocations: 5.694 MB / 1.484 GB, free: 13 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.621366454288363]