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.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.001406/0.001406, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001557/0.001557, allocations: 161 kB / 23.01 MB, free: 4.602 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.953/2.953, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002443/0.002443, allocations: 69.75 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9038, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1722/1.076, allocations: 131.1 MB / 1.315 GB, free: 2.816 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004382/1.08, allocations: 3.283 MB / 1.318 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/1.08, allocations: 3.938 kB / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003574/1.081, allocations: 63.64 kB / 1.318 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003328/1.081, allocations: 147.2 kB / 1.318 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/1.084, allocations: 1.049 MB / 1.319 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004041/1.084, allocations: 319.6 kB / 1.319 GB, free: 13.95 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/1.084, allocations: 9.812 kB / 1.319 GB, free: 13.95 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004197/1.085, allocations: 199.2 kB / 1.32 GB, free: 13.75 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/1.085, allocations: 139.4 kB / 1.32 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/1.085, allocations: 12 kB / 1.32 GB, free: 13.6 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/1.087, allocations: 1.048 MB / 1.321 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/1.087, allocations: 75.78 kB / 1.321 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/1.087, allocations: 91.64 kB / 1.321 GB, free: 12.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/1.088, allocations: 0.6151 MB / 1.321 GB, free: 11.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.088, allocations: 3.938 kB / 1.321 GB, free: 11.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/1.088, allocations: 0 / 1.321 GB, free: 11.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.088, allocations: 0 / 1.321 GB, free: 11.77 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.001057/1.089, allocations: 0.5282 MB / 1.322 GB, free: 11.21 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.089, allocations: 8.031 kB / 1.322 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.091, allocations: 136.7 kB / 1.322 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/1.091, allocations: 166.2 kB / 1.322 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/1.091, allocations: 16.31 kB / 1.322 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/1.091, allocations: 20 kB / 1.322 GB, free: 10.85 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/1.092, allocations: 0.5933 MB / 1.323 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.092, allocations: 0 / 1.323 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/1.092, allocations: 8 kB / 1.323 GB, free: 10.17 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/1.092, allocations: 12 kB / 1.323 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/1.092, allocations: 320.2 kB / 1.323 GB, free: 9.844 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.001563/1.094, allocations: 0.9113 MB / 1.324 GB, free: 8.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/1.094, allocations: 180.2 kB / 1.324 GB, free: 8.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/1.094, allocations: 83.42 kB / 1.324 GB, free: 8.621 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/1.095, allocations: 75.94 kB / 1.324 GB, free: 8.547 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.095, allocations: 42.44 kB / 1.325 GB, free: 8.496 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/1.095, allocations: 0 / 1.325 GB, free: 8.496 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.0006875/1.095, allocations: 261.4 kB / 1.325 GB, free: 8.234 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.096, allocations: 55.41 kB / 1.325 GB, free: 8.168 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.096, allocations: 164.4 kB / 1.325 GB, free: 8 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/1.096, allocations: 33.7 kB / 1.325 GB, free: 7.961 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.096, allocations: 156.1 kB / 1.325 GB, free: 7.805 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/1.096, allocations: 75.38 kB / 1.325 GB, free: 7.73 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/1.096, allocations: 53.66 kB / 1.325 GB, free: 7.672 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.096, allocations: 322.8 kB / 1.326 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/1.096, allocations: 72.22 kB / 1.326 GB, free: 7.273 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/1.096, allocations: 168.1 kB / 1.326 GB, free: 7.07 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/1.097, allocations: 253.1 kB / 1.326 GB, free: 6.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.097, allocations: 11.94 kB / 1.326 GB, free: 6.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000529/1.097, allocations: 269.3 kB / 1.326 GB, free: 6.504 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.097, allocations: 7.938 kB / 1.326 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.097, allocations: 4 kB / 1.326 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.097, allocations: 11.92 kB / 1.326 GB, free: 6.48 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/1.098, allocations: 56.3 kB / 1.326 GB, free: 6.426 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.098, allocations: 11.94 kB / 1.326 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/1.098, allocations: 23.78 kB / 1.326 GB, free: 6.391 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/1.098, allocations: 12 kB / 1.326 GB, free: 6.379 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.0001382/1.098, allocations: 137.8 kB / 1.327 GB, free: 6.234 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.098, allocations: 27.83 kB / 1.327 GB, free: 6.207 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/1.099, allocations: 271.3 kB / 1.327 GB, free: 5.934 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.099, allocations: 0 / 1.327 GB, free: 5.934 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.099, allocations: 3.984 kB / 1.327 GB, free: 5.93 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.099, allocations: 0 / 1.327 GB, free: 5.93 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007265/1.099, allocations: 0.5237 MB / 1.327 GB, free: 5.367 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.099, allocations: 7.938 kB / 1.327 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.1, allocations: 31.92 kB / 1.327 GB, free: 5.328 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.1, allocations: 0 / 1.327 GB, free: 5.328 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/1.1, allocations: 8 kB / 1.327 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.1, allocations: 0 / 1.327 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.1, allocations: 0 / 1.327 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/1.1, allocations: 349.8 kB / 1.328 GB, free: 4.957 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/1.1, allocations: 43.75 kB / 1.328 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/1.1, allocations: 8.062 kB / 1.328 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/1.1, allocations: 15.98 kB / 1.328 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/1.101, allocations: 11.97 kB / 1.328 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/1.101, allocations: 12 kB / 1.328 GB, free: 4.867 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.056e-05/1.101, allocations: 116.9 kB / 1.328 GB, free: 4.754 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.101, allocations: 0 / 1.328 GB, free: 4.754 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005129/1.101, allocations: 127.8 kB / 1.328 GB, free: 4.629 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.0004193/1.102, allocations: 226.8 kB / 1.328 GB, free: 4.398 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003924/1.102, allocations: 199.6 kB / 1.328 GB, free: 4.203 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.102, allocations: 3.938 kB / 1.328 GB, free: 4.199 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/1.102, allocations: 100.7 kB / 1.329 GB, free: 4.102 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/1.103, allocations: 63.88 kB / 1.329 GB, free: 4.039 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/1.103, allocations: 462.6 kB / 1.329 GB, free: 3.555 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/1.104, allocations: 124.4 kB / 1.329 GB, free: 3.41 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001959/1.104, allocations: 49.61 kB / 1.329 GB, free: 3.363 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/1.104, allocations: 24.48 kB / 1.329 GB, free: 3.34 MB / 1.17 GB Notification: Performance of SimCode: time 3.5e-07/1.104, allocations: 0 / 1.329 GB, free: 3.34 MB / 1.17 GB Notification: Performance of Templates: time 0.009721/1.114, allocations: 4.598 MB / 1.334 GB, free: 14.82 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 -s ida -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/jenkins1/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: 9.409507842967287]