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.001591/0.001591, allocations: 112.3 kB / 17.13 MB, free: 6.008 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.001723/0.001723, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.857/2.857, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.001983/0.001983, allocations: 60.19 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.874, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1914/1.065, allocations: 152.4 MB / 1.471 GB, free: 9.641 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004552/1.07, allocations: 3.645 MB / 1.474 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/1.07, allocations: 1.25 kB / 1.474 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003317/1.07, allocations: 69.98 kB / 1.474 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000318/1.071, allocations: 140.3 kB / 1.475 GB, free: 6.543 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/1.073, allocations: 1.048 MB / 1.476 GB, free: 5.777 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004164/1.074, allocations: 311.3 kB / 1.476 GB, free: 5.621 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/1.074, allocations: 11.27 kB / 1.476 GB, free: 5.613 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/1.074, allocations: 213.1 kB / 1.476 GB, free: 5.492 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/1.074, allocations: 132.8 kB / 1.476 GB, free: 5.418 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/1.074, allocations: 11.03 kB / 1.476 GB, free: 5.418 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/1.077, allocations: 1.294 MB / 1.478 GB, free: 4.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.077, allocations: 74.22 kB / 1.478 GB, free: 4.629 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/1.077, allocations: 114.6 kB / 1.478 GB, free: 4.566 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/1.078, allocations: 0.6424 MB / 1.478 GB, free: 4.207 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.078, allocations: 1.344 kB / 1.478 GB, free: 4.207 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/1.078, allocations: 0 / 1.478 GB, free: 4.207 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.078, allocations: 0 / 1.478 GB, free: 4.207 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.001242/1.079, allocations: 0.6015 MB / 1.479 GB, free: 3.668 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.079, allocations: 13.02 kB / 1.479 GB, free: 3.664 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.08, allocations: 135.2 kB / 1.479 GB, free: 3.602 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/1.081, allocations: 227.8 kB / 1.479 GB, free: 3.359 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/1.081, allocations: 19.19 kB / 1.479 GB, free: 3.348 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/1.081, allocations: 17.22 kB / 1.479 GB, free: 3.344 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/1.081, allocations: 329.3 kB / 1.48 GB, free: 3.141 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.081, allocations: 7.938 kB / 1.48 GB, free: 3.133 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/1.081, allocations: 16.41 kB / 1.48 GB, free: 3.121 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/1.081, allocations: 15.47 kB / 1.48 GB, free: 3.117 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/1.082, allocations: 329.1 kB / 1.48 GB, free: 2.969 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.001689/1.084, allocations: 1.101 MB / 1.481 GB, free: 1.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/1.084, allocations: 189.8 kB / 1.481 GB, free: 1.887 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/1.084, allocations: 73.59 kB / 1.481 GB, free: 1.852 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/1.085, allocations: 461.5 kB / 1.482 GB, free: 1.352 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.085, allocations: 36.81 kB / 1.482 GB, free: 1.309 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 4.739e-06/1.085, allocations: 4 kB / 1.482 GB, free: 1.305 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0006726/1.086, allocations: 261.7 kB / 1.482 GB, free: 1.18 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.086, allocations: 53.62 kB / 1.482 GB, free: 1.117 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/1.086, allocations: 212.1 kB / 1.482 GB, free: 0.957 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/1.086, allocations: 31.52 kB / 1.482 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/1.086, allocations: 140.5 kB / 1.482 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/1.086, allocations: 81.05 kB / 1.483 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.086, allocations: 54.28 kB / 1.483 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.086, allocations: 331.5 kB / 1.483 GB, free: 360 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/1.087, allocations: 70.05 kB / 1.483 GB, free: 332 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/1.087, allocations: 157 kB / 1.483 GB, free: 188 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/1.087, allocations: 250.6 kB / 1.483 GB, free: 16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.087, allocations: 1.25 kB / 1.483 GB, free: 16 MB / 1.17 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005284/1.088, allocations: 289.5 kB / 1.484 GB, free: 15.85 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.088, allocations: 6.938 kB / 1.484 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.088, allocations: 3.156 kB / 1.484 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.088, allocations: 7.875 kB / 1.484 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/1.088, allocations: 60.91 kB / 1.484 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.088, allocations: 4.062 kB / 1.484 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/1.088, allocations: 32.31 kB / 1.484 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.088, allocations: 14.72 kB / 1.484 GB, free: 15.8 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.0001424/1.088, allocations: 146.3 kB / 1.484 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.088, allocations: 20.56 kB / 1.484 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/1.089, allocations: 279.8 kB / 1.484 GB, free: 15.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.089, allocations: 6.438 kB / 1.484 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.089, allocations: 1.281 kB / 1.484 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.089, allocations: 3.984 kB / 1.484 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007915/1.09, allocations: 0.5789 MB / 1.485 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.09, allocations: 1.125 kB / 1.485 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.09, allocations: 38.33 kB / 1.485 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.09, allocations: 1.656 kB / 1.485 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.09, allocations: 6.625 kB / 1.485 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.09, allocations: 9.047 kB / 1.485 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.09, allocations: 1.094 kB / 1.485 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/1.091, allocations: 355.3 kB / 1.485 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.091, allocations: 124.8 kB / 1.485 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/1.091, allocations: 2.344 kB / 1.485 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/1.091, allocations: 14.45 kB / 1.485 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/1.091, allocations: 18.3 kB / 1.485 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/1.091, allocations: 8.688 kB / 1.485 GB, free: 14.61 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001423/1.091, allocations: 159.9 kB / 1.485 GB, free: 14.49 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/1.091, allocations: 4 kB / 1.485 GB, free: 14.48 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005152/1.092, allocations: 122.3 kB / 1.486 GB, free: 14.46 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.000431/1.092, allocations: 212.8 kB / 1.486 GB, free: 14.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003812/1.092, allocations: 201.9 kB / 1.486 GB, free: 14.24 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.092, allocations: 0 / 1.486 GB, free: 14.24 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.093, allocations: 93.45 kB / 1.486 GB, free: 14.2 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/1.093, allocations: 101.7 kB / 1.486 GB, free: 14.15 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/1.094, allocations: 0.4947 MB / 1.487 GB, free: 13.8 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.094, allocations: 0.7382 MB / 1.487 GB, free: 13.07 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.095, allocations: 24.94 kB / 1.487 GB, free: 13.07 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/1.095, allocations: 0 / 1.487 GB, free: 13.07 MB / 1.17 GB Notification: Performance of Templates: time 0.007618/1.102, allocations: 4.466 MB / 1.492 GB, free: 10.77 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/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: 11.97589686998981]