Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007231/0.007231, allocations: 99.3 kB / 15.73 MB, free: 5.602 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.001382/0.001382, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8813, allocations: 151.6 MB / 1.167 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1865/1.068, allocations: 149.1 MB / 1.312 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004341/1.072, allocations: 3.612 MB / 1.316 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/1.072, allocations: 3.938 kB / 1.316 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/1.073, allocations: 71.62 kB / 1.316 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/1.073, allocations: 139.2 kB / 1.316 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/1.076, allocations: 1.037 MB / 1.317 GB, free: 9.211 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/1.077, allocations: 323.6 kB / 1.317 GB, free: 8.895 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/1.077, allocations: 17.55 kB / 1.317 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/1.077, allocations: 195.2 kB / 1.317 GB, free: 8.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/1.077, allocations: 131.5 kB / 1.318 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/1.077, allocations: 12 kB / 1.318 GB, free: 8.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/1.08, allocations: 1.216 MB / 1.319 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/1.08, allocations: 71.78 kB / 1.319 GB, free: 7.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/1.08, allocations: 107.5 kB / 1.319 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/1.081, allocations: 0.6393 MB / 1.32 GB, free: 6.508 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.081, allocations: 0 / 1.32 GB, free: 6.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/1.081, allocations: 0 / 1.32 GB, free: 6.508 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.238e-06/1.081, allocations: 0 / 1.32 GB, free: 6.508 MB / 1.045 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.00121/1.082, allocations: 0.5996 MB / 1.32 GB, free: 5.859 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.082, allocations: 8.031 kB / 1.32 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.083, allocations: 136.7 kB / 1.32 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/1.084, allocations: 220.1 kB / 1.321 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.084, allocations: 20.31 kB / 1.321 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/1.084, allocations: 16 kB / 1.321 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/1.084, allocations: 338.1 kB / 1.321 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.084, allocations: 0 / 1.321 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/1.084, allocations: 11.98 kB / 1.321 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/1.085, allocations: 19.98 kB / 1.321 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/1.085, allocations: 336 kB / 1.321 GB, free: 4.723 MB / 1.045 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.001665/1.087, allocations: 1.106 MB / 1.322 GB, free: 3.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/1.087, allocations: 195.5 kB / 1.323 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/1.087, allocations: 80.81 kB / 1.323 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/1.088, allocations: 461.4 kB / 1.323 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.088, allocations: 46.44 kB / 1.323 GB, free: 2.648 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/1.088, allocations: 4 kB / 1.323 GB, free: 2.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0006665/1.089, allocations: 260.1 kB / 1.323 GB, free: 2.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.089, allocations: 55.41 kB / 1.323 GB, free: 2.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/1.089, allocations: 207.7 kB / 1.324 GB, free: 2.105 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/1.089, allocations: 33.7 kB / 1.324 GB, free: 2.066 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/1.089, allocations: 140.2 kB / 1.324 GB, free: 1.926 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/1.089, allocations: 83.3 kB / 1.324 GB, free: 1.844 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/1.089, allocations: 53.66 kB / 1.324 GB, free: 1.785 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.089, allocations: 330.8 kB / 1.324 GB, free: 1.453 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/1.09, allocations: 72.22 kB / 1.324 GB, free: 1.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/1.09, allocations: 159.6 kB / 1.324 GB, free: 1.188 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/1.09, allocations: 247.7 kB / 1.325 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.09, allocations: 4 kB / 1.325 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005068/1.091, allocations: 290.3 kB / 1.325 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.091, allocations: 11.94 kB / 1.325 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.091, allocations: 4 kB / 1.325 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.091, allocations: 7.938 kB / 1.325 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/1.091, allocations: 55.91 kB / 1.325 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.091, allocations: 7.938 kB / 1.325 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.091, allocations: 27.78 kB / 1.325 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/1.091, allocations: 16 kB / 1.325 GB, free: 496 kB / 1.045 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.0001454/1.091, allocations: 144.2 kB / 1.325 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/1.092, allocations: 23.89 kB / 1.325 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/1.092, allocations: 271.2 kB / 1.325 GB, free: 40 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.092, allocations: 7.938 kB / 1.325 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.092, allocations: 0 / 1.325 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.092, allocations: 3.984 kB / 1.325 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/1.093, allocations: 0.5841 MB / 1.326 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.093, allocations: 4 kB / 1.326 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/1.093, allocations: 31.92 kB / 1.326 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.093, allocations: 4 kB / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/1.093, allocations: 4 kB / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.093, allocations: 4 kB / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.093, allocations: 0 / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/1.094, allocations: 353.5 kB / 1.326 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/1.094, allocations: 124.9 kB / 1.327 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/1.094, allocations: 7.938 kB / 1.327 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/1.094, allocations: 18.23 kB / 1.327 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/1.094, allocations: 15.97 kB / 1.327 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/1.094, allocations: 12 kB / 1.327 GB, free: 14.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000121/1.094, allocations: 149.5 kB / 1.327 GB, free: 14.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.094, allocations: 4 kB / 1.327 GB, free: 14.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005134/1.095, allocations: 115.8 kB / 1.327 GB, free: 14.52 MB / 1.061 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.0004349/1.095, allocations: 214.9 kB / 1.327 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003885/1.096, allocations: 203.8 kB / 1.327 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.096, allocations: 0 / 1.327 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.096, allocations: 103.8 kB / 1.327 GB, free: 13.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/1.096, allocations: 107 kB / 1.327 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/1.097, allocations: 461.2 kB / 1.328 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.098, allocations: 0.7406 MB / 1.329 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002235/1.098, allocations: 58.25 kB / 1.329 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/1.098, allocations: 27.44 kB / 1.329 GB, free: 12.56 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/1.098, allocations: 0 / 1.329 GB, free: 12.56 MB / 1.061 GB Notification: Performance of Templates: time 0.01066/1.109, allocations: 5.516 MB / 1.334 GB, free: 7.117 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches