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.0008466/0.0008466, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008613/0.0008613, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8419/0.8419, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.652/1.652, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.19e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5834/0.5834, allocations: 131.1 MB / 1.11 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.586, allocations: 3.299 MB / 1.113 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.586, allocations: 1.062 kB / 1.113 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.5864, allocations: 53.09 kB / 1.113 GB, free: 22.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.5866, allocations: 149.3 kB / 1.114 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.5882, allocations: 1.08 MB / 1.115 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.5885, allocations: 341.6 kB / 1.115 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.5885, allocations: 9.359 kB / 1.115 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.5889, allocations: 247.4 kB / 1.115 GB, free: 21.33 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.5891, allocations: 115.8 kB / 1.115 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.5891, allocations: 15.69 kB / 1.115 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.5903, allocations: 1.07 MB / 1.116 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.5904, allocations: 77.5 kB / 1.117 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.5905, allocations: 81.84 kB / 1.117 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.5914, allocations: 0.6716 MB / 1.117 GB, free: 20.6 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5914, allocations: 0.7969 kB / 1.117 GB, free: 20.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5914, allocations: 0 / 1.117 GB, free: 20.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.5914, allocations: 0 / 1.117 GB, free: 20.6 MB / 0.9948 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.000841/0.5923, allocations: 0.5266 MB / 1.118 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.5923, allocations: 9.031 kB / 1.118 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006111/0.5929, allocations: 136.2 kB / 1.118 GB, free: 20.17 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.5931, allocations: 159.3 kB / 1.118 GB, free: 20.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.5931, allocations: 15.72 kB / 1.118 GB, free: 20.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.5931, allocations: 16.56 kB / 1.118 GB, free: 20.01 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.5936, allocations: 0.5944 MB / 1.119 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5936, allocations: 1.188 kB / 1.119 GB, free: 19.54 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.5936, allocations: 10.89 kB / 1.119 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.5936, allocations: 18.03 kB / 1.119 GB, free: 19.53 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.594, allocations: 319 kB / 1.119 GB, free: 19.45 MB / 0.9948 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.0009328/0.595, allocations: 0.8924 MB / 1.12 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.5953, allocations: 181.2 kB / 1.12 GB, free: 18.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.5954, allocations: 80.2 kB / 1.12 GB, free: 18.71 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.5956, allocations: 77.27 kB / 1.12 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.5956, allocations: 40.59 kB / 1.12 GB, free: 18.65 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 1.774e-06/0.5956, allocations: 1.125 kB / 1.12 GB, free: 18.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.0004584/0.5961, allocations: 257.4 kB / 1.12 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5961, allocations: 57.62 kB / 1.121 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5962, allocations: 171 kB / 1.121 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5962, allocations: 31.92 kB / 1.121 GB, free: 18.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.5963, allocations: 152.8 kB / 1.121 GB, free: 18.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.5963, allocations: 78.53 kB / 1.121 GB, free: 18.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.5964, allocations: 50.11 kB / 1.121 GB, free: 18.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.5964, allocations: 331.6 kB / 1.121 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.43e-05/0.5965, allocations: 69.2 kB / 1.121 GB, free: 17.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.5966, allocations: 162 kB / 1.122 GB, free: 17.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.5969, allocations: 246.9 kB / 1.122 GB, free: 17.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5969, allocations: 0 / 1.122 GB, free: 17.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003362/0.5972, allocations: 285.3 kB / 1.122 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5972, allocations: 7.922 kB / 1.122 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5972, allocations: 2.344 kB / 1.122 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.5972, allocations: 4.688 kB / 1.122 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.5974, allocations: 50.38 kB / 1.122 GB, free: 17.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5974, allocations: 9.578 kB / 1.122 GB, free: 17.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.5975, allocations: 35.52 kB / 1.122 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.5975, allocations: 16.05 kB / 1.122 GB, free: 17.34 MB / 0.9948 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 6.972e-05/0.5976, allocations: 137.1 kB / 1.122 GB, free: 17.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.5976, allocations: 20.72 kB / 1.122 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.5979, allocations: 274.5 kB / 1.123 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5979, allocations: 3.938 kB / 1.123 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5979, allocations: 0 / 1.123 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5979, allocations: 5.016 kB / 1.123 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.5984, allocations: 0.5123 MB / 1.123 GB, free: 16.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5984, allocations: 5.188 kB / 1.123 GB, free: 16.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.5985, allocations: 33.72 kB / 1.123 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5985, allocations: 1.156 kB / 1.123 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5985, allocations: 4.219 kB / 1.123 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5985, allocations: 7.016 kB / 1.123 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5985, allocations: 1.062 kB / 1.123 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.5988, allocations: 350 kB / 1.123 GB, free: 16.54 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.5988, allocations: 39.02 kB / 1.123 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.5989, allocations: 6.859 kB / 1.124 GB, free: 16.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.599, allocations: 21.8 kB / 1.124 GB, free: 16.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.599, allocations: 10.27 kB / 1.124 GB, free: 16.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.599, allocations: 16.25 kB / 1.124 GB, free: 16.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.5991, allocations: 115.1 kB / 1.124 GB, free: 16.42 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5991, allocations: 1.156 kB / 1.124 GB, free: 16.42 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003142/0.5994, allocations: 128.5 kB / 1.124 GB, free: 16.39 MB / 0.9948 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.0003137/0.5997, allocations: 233.5 kB / 1.124 GB, free: 16.26 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.6, allocations: 198.4 kB / 1.124 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6, allocations: 1.156 kB / 1.124 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.6001, allocations: 97.41 kB / 1.124 GB, free: 16.19 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.6004, allocations: 73.34 kB / 1.124 GB, free: 16.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.6008, allocations: 461.3 kB / 1.125 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.114e-05/0.6009, allocations: 122.3 kB / 1.125 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.601, allocations: 28.44 kB / 1.125 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of SimCode: time 6.82e-07/0.601, allocations: 4 kB / 1.125 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of Templates: time 0.004943/0.6059, allocations: 4.096 MB / 1.129 GB, free: 15.38 MB / 0.9948 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: 7.578924854286015]