Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,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_11_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009899/0.009899, allocations: 100.6 kB / 15.73 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 191.6 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.621/2.621, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8745/0.8758, allocations: 159.1 MB / 1.221 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1604/1.036, allocations: 149.5 MB / 1.367 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004045/1.04, allocations: 3.614 MB / 1.37 GB, free: 8.512 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/1.04, allocations: 0 / 1.37 GB, free: 8.512 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000363/1.041, allocations: 67.62 kB / 1.37 GB, free: 8.445 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/1.041, allocations: 143.2 kB / 1.37 GB, free: 8.305 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/1.044, allocations: 1.041 MB / 1.371 GB, free: 7.262 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000452/1.044, allocations: 319.7 kB / 1.372 GB, free: 6.945 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/1.044, allocations: 9.562 kB / 1.372 GB, free: 6.938 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/1.045, allocations: 195.1 kB / 1.372 GB, free: 6.746 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/1.045, allocations: 127.5 kB / 1.372 GB, free: 6.621 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/1.045, allocations: 12 kB / 1.372 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/1.047, allocations: 1.223 MB / 1.373 GB, free: 5.383 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/1.047, allocations: 75.78 kB / 1.373 GB, free: 5.309 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/1.047, allocations: 111.5 kB / 1.373 GB, free: 5.199 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/1.049, allocations: 0.6358 MB / 1.374 GB, free: 4.562 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.049, allocations: 0 / 1.374 GB, free: 4.562 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.412e-06/1.049, allocations: 0 / 1.374 GB, free: 4.562 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.049, allocations: 4 kB / 1.374 GB, free: 4.559 MB / 1.092 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.001268/1.05, allocations: 0.5918 MB / 1.375 GB, free: 3.918 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.05, allocations: 12.62 kB / 1.375 GB, free: 3.906 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/1.051, allocations: 132.7 kB / 1.375 GB, free: 3.777 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/1.052, allocations: 224.1 kB / 1.375 GB, free: 3.52 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/1.052, allocations: 24.25 kB / 1.375 GB, free: 3.496 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/1.052, allocations: 20 kB / 1.375 GB, free: 3.477 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/1.052, allocations: 330.3 kB / 1.375 GB, free: 3.133 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.052, allocations: 4 kB / 1.375 GB, free: 3.129 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/1.052, allocations: 8 kB / 1.375 GB, free: 3.121 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/1.052, allocations: 23.92 kB / 1.375 GB, free: 3.098 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005288/1.053, allocations: 320.1 kB / 1.376 GB, free: 2.785 MB / 1.092 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.001643/1.054, allocations: 1.113 MB / 1.377 GB, free: 1.582 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/1.055, allocations: 178.5 kB / 1.377 GB, free: 1.398 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.055, allocations: 80.8 kB / 1.377 GB, free: 1.316 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/1.056, allocations: 457.4 kB / 1.377 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.056, allocations: 38.47 kB / 1.377 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of pre-optimization done (n=21): time 2.053e-06/1.056, allocations: 4 kB / 1.377 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of matching and sorting (n=21): time 0.0007046/1.056, allocations: 267.2 kB / 1.378 GB, free: 472 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/1.056, allocations: 51.41 kB / 1.378 GB, free: 408 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/1.057, allocations: 207.1 kB / 1.378 GB, free: 188 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.057, allocations: 29.7 kB / 1.378 GB, free: 152 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/1.057, allocations: 148.2 kB / 1.378 GB, free: 0 / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/1.057, allocations: 83.42 kB / 1.378 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/1.057, allocations: 57.59 kB / 1.378 GB, free: 15.85 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.057, allocations: 330.8 kB / 1.379 GB, free: 15.52 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/1.057, allocations: 68.22 kB / 1.379 GB, free: 15.45 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/1.057, allocations: 156.2 kB / 1.379 GB, free: 15.26 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/1.058, allocations: 252.9 kB / 1.379 GB, free: 14.98 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.058, allocations: 3.938 kB / 1.379 GB, free: 14.97 MB / 1.107 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005505/1.058, allocations: 293.1 kB / 1.379 GB, free: 14.68 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/1.058, allocations: 4 kB / 1.379 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.058, allocations: 7.984 kB / 1.379 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.058, allocations: 7.938 kB / 1.379 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/1.059, allocations: 51.92 kB / 1.379 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.059, allocations: 8 kB / 1.379 GB, free: 14.6 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/1.059, allocations: 27.78 kB / 1.379 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/1.059, allocations: 16.3 kB / 1.379 GB, free: 14.56 MB / 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.0001274/1.059, allocations: 134 kB / 1.38 GB, free: 14.42 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.059, allocations: 35.84 kB / 1.38 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/1.06, allocations: 276.3 kB / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/1.06, allocations: 3.938 kB / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.06, allocations: 0 / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.06, allocations: 4 kB / 1.38 GB, free: 14.1 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/1.06, allocations: 0.5923 MB / 1.38 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.06, allocations: 0 / 1.38 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/1.061, allocations: 31.98 kB / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.061, allocations: 0 / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/1.061, allocations: 12 kB / 1.381 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.061, allocations: 3.938 kB / 1.381 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.061, allocations: 0 / 1.381 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/1.061, allocations: 355.3 kB / 1.381 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/1.061, allocations: 116.9 kB / 1.381 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/1.061, allocations: 8 kB / 1.381 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/1.062, allocations: 11.98 kB / 1.381 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/1.062, allocations: 11.98 kB / 1.381 GB, free: 12.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/1.062, allocations: 15.98 kB / 1.381 GB, free: 12.86 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001338/1.062, allocations: 157.4 kB / 1.381 GB, free: 12.7 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 1.381 GB, free: 12.7 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005266/1.062, allocations: 123.7 kB / 1.381 GB, free: 12.58 MB / 1.107 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.0004861/1.063, allocations: 218.9 kB / 1.381 GB, free: 12.36 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004535/1.063, allocations: 207.9 kB / 1.382 GB, free: 12.16 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.063, allocations: 0 / 1.382 GB, free: 12.16 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/1.063, allocations: 99.78 kB / 1.382 GB, free: 12.06 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/1.064, allocations: 100.5 kB / 1.382 GB, free: 11.96 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/1.065, allocations: 461.3 kB / 1.382 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/1.065, allocations: 0.7445 MB / 1.383 GB, free: 10.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002315/1.065, allocations: 54.25 kB / 1.383 GB, free: 10.66 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/1.066, allocations: 23.44 kB / 1.383 GB, free: 10.63 MB / 1.107 GB Notification: Performance of SimCode: time 4.21e-07/1.066, allocations: 0 / 1.383 GB, free: 10.63 MB / 1.107 GB Notification: Performance of Templates: time 0.01072/1.076, allocations: 5.533 MB / 1.389 GB, free: 5.168 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches