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.001517/0.001517, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001595/0.001595, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.406/1.406, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002021/0.002021, allocations: 67.88 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9123, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1882/1.101, allocations: 149.1 MB / 1.408 GB, free: 9.93 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004357/1.105, allocations: 3.619 MB / 1.412 GB, free: 7.016 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/1.105, allocations: 1.062 kB / 1.412 GB, free: 7.016 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/1.105, allocations: 64.02 kB / 1.412 GB, free: 6.965 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/1.106, allocations: 131 kB / 1.412 GB, free: 6.859 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/1.109, allocations: 1.026 MB / 1.413 GB, free: 6.105 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004411/1.109, allocations: 315.1 kB / 1.413 GB, free: 5.945 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/1.109, allocations: 14.39 kB / 1.413 GB, free: 5.941 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/1.109, allocations: 187.3 kB / 1.413 GB, free: 5.84 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/1.11, allocations: 136.7 kB / 1.414 GB, free: 5.762 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/1.11, allocations: 10.47 kB / 1.414 GB, free: 5.762 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/1.112, allocations: 1.221 MB / 1.415 GB, free: 5.078 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.112, allocations: 73.91 kB / 1.415 GB, free: 5.027 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/1.112, allocations: 105.5 kB / 1.415 GB, free: 4.973 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/1.113, allocations: 0.6335 MB / 1.416 GB, free: 4.621 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.113, allocations: 0.9375 kB / 1.416 GB, free: 4.621 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.693e-06/1.113, allocations: 0 / 1.416 GB, free: 4.621 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.822e-06/1.113, allocations: 0 / 1.416 GB, free: 4.621 MB / 1.107 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.001184/1.114, allocations: 0.5974 MB / 1.416 GB, free: 4.086 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.114, allocations: 12.66 kB / 1.416 GB, free: 4.082 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.116, allocations: 132.5 kB / 1.416 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/1.116, allocations: 223.5 kB / 1.416 GB, free: 3.785 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/1.116, allocations: 22.84 kB / 1.416 GB, free: 3.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/1.116, allocations: 15.91 kB / 1.417 GB, free: 3.766 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/1.117, allocations: 334.3 kB / 1.417 GB, free: 3.551 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.117, allocations: 5.156 kB / 1.417 GB, free: 3.547 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/1.117, allocations: 7.562 kB / 1.417 GB, free: 3.543 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/1.117, allocations: 19.61 kB / 1.417 GB, free: 3.535 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/1.117, allocations: 325.6 kB / 1.417 GB, free: 3.391 MB / 1.107 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.001681/1.119, allocations: 1.115 MB / 1.418 GB, free: 2.391 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/1.119, allocations: 196.9 kB / 1.418 GB, free: 2.297 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/1.12, allocations: 81.16 kB / 1.419 GB, free: 2.262 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/1.12, allocations: 460.7 kB / 1.419 GB, free: 1.762 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.12, allocations: 37.5 kB / 1.419 GB, free: 1.719 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/1.12, allocations: 4 kB / 1.419 GB, free: 1.715 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.0006918/1.121, allocations: 255.7 kB / 1.419 GB, free: 1.594 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.121, allocations: 53.72 kB / 1.419 GB, free: 1.531 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/1.121, allocations: 203.3 kB / 1.419 GB, free: 1.379 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/1.121, allocations: 35.97 kB / 1.42 GB, free: 1.34 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.121, allocations: 149.6 kB / 1.42 GB, free: 1.199 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/1.121, allocations: 84.2 kB / 1.42 GB, free: 1.125 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/1.122, allocations: 49.89 kB / 1.42 GB, free: 1.09 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.122, allocations: 331.8 kB / 1.42 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/1.122, allocations: 73.78 kB / 1.42 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/1.122, allocations: 165.9 kB / 1.42 GB, free: 0.582 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/1.122, allocations: 246.5 kB / 1.421 GB, free: 408 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.122, allocations: 1.156 kB / 1.421 GB, free: 408 kB / 1.107 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005229/1.123, allocations: 296.2 kB / 1.421 GB, free: 252 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.123, allocations: 7.969 kB / 1.421 GB, free: 252 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.123, allocations: 3.375 kB / 1.421 GB, free: 252 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.123, allocations: 8.531 kB / 1.421 GB, free: 248 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/1.123, allocations: 52.23 kB / 1.421 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.123, allocations: 8.984 kB / 1.421 GB, free: 236 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.123, allocations: 27.47 kB / 1.421 GB, free: 216 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/1.123, allocations: 15.25 kB / 1.421 GB, free: 212 kB / 1.107 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.0001335/1.124, allocations: 137.7 kB / 1.421 GB, free: 76 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.124, allocations: 33.58 kB / 1.421 GB, free: 56 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/1.124, allocations: 267.8 kB / 1.421 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.124, allocations: 6.359 kB / 1.421 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.124, allocations: 5 kB / 1.421 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.124, allocations: 0 / 1.421 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/1.125, allocations: 0.5916 MB / 1.422 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.125, allocations: 1.156 kB / 1.422 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/1.125, allocations: 33.7 kB / 1.422 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/1.125, allocations: 2.375 kB / 1.422 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/1.125, allocations: 6.281 kB / 1.422 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.125, allocations: 1 kB / 1.422 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.125, allocations: 1.094 kB / 1.422 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/1.126, allocations: 357.4 kB / 1.422 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.126, allocations: 116.7 kB / 1.422 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/1.126, allocations: 6.5 kB / 1.422 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.126, allocations: 11.7 kB / 1.423 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/1.126, allocations: 14.45 kB / 1.423 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/1.126, allocations: 17.83 kB / 1.423 GB, free: 15.01 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001406/1.127, allocations: 155 kB / 1.423 GB, free: 14.89 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.127, allocations: 1.062 kB / 1.423 GB, free: 14.89 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000525/1.127, allocations: 120.3 kB / 1.423 GB, free: 14.87 MB / 1.123 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.0004477/1.128, allocations: 216.8 kB / 1.423 GB, free: 14.72 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003958/1.128, allocations: 211 kB / 1.423 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.128, allocations: 0.7188 kB / 1.423 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.128, allocations: 103 kB / 1.423 GB, free: 14.6 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/1.129, allocations: 104.2 kB / 1.423 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/1.13, allocations: 492.2 kB / 1.424 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/1.13, allocations: 0.7426 MB / 1.425 GB, free: 13.48 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/1.13, allocations: 25.41 kB / 1.425 GB, free: 13.47 MB / 1.123 GB Notification: Performance of SimCode: time 2.21e-07/1.13, allocations: 0 / 1.425 GB, free: 13.47 MB / 1.123 GB Notification: Performance of Templates: time 0.007468/1.138, allocations: 4.365 MB / 1.429 GB, free: 11.22 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.815160400932655]