Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 104.7 kB / 16.41 MB, free: 6.512 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.001649/0.00165, allocations: 187 kB / 17.34 MB, free: 5.742 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7355 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 1.055 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8398, allocations: 157.4 MB / 1.209 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2133/1.053, allocations: 179.3 MB / 1.384 GB, free: 9.617 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01983/1.073, allocations: 10.97 MB / 1.394 GB, free: 14.61 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/1.077, allocations: 95.5 kB / 1.394 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007608/1.085, allocations: 2.005 MB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006486/1.091, allocations: 1.623 MB / 1.398 GB, free: 10.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/1.095, allocations: 0.7829 MB / 1.399 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006254/1.101, allocations: 3.153 MB / 1.402 GB, free: 6.934 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/1.103, allocations: 1.312 MB / 1.403 GB, free: 5.59 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/1.106, allocations: 1.147 MB / 1.404 GB, free: 4.438 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/1.109, allocations: 1.119 MB / 1.405 GB, free: 3.32 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006436/1.11, allocations: 128 kB / 1.405 GB, free: 3.195 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/1.112, allocations: 0.9121 MB / 1.406 GB, free: 2.281 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008631/1.113, allocations: 478 kB / 1.407 GB, free: 1.812 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003296/1.117, allocations: 1.095 MB / 1.408 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007647/1.124, allocations: 3.461 MB / 1.411 GB, free: 13.24 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.124, allocations: 8 kB / 1.411 GB, free: 13.23 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.884e-06/1.124, allocations: 0 / 1.411 GB, free: 13.23 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001413/1.125, allocations: 0 / 1.411 GB, free: 13.23 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.006902/1.131, allocations: 2.801 MB / 1.414 GB, free: 10.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.132, allocations: 12.03 kB / 1.414 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/1.133, allocations: 376.5 kB / 1.414 GB, free: 9.984 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/1.138, allocations: 2.013 MB / 1.416 GB, free: 7.902 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/1.138, allocations: 58 kB / 1.416 GB, free: 7.848 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.138, allocations: 72 kB / 1.416 GB, free: 7.777 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/1.14, allocations: 0.9484 MB / 1.417 GB, free: 6.781 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.14, allocations: 0 / 1.417 GB, free: 6.781 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/1.14, allocations: 36 kB / 1.417 GB, free: 6.746 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/1.14, allocations: 28.94 kB / 1.417 GB, free: 6.719 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/1.142, allocations: 0.7103 MB / 1.418 GB, free: 6.008 MB / 1.139 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.007951/1.15, allocations: 4.44 MB / 1.422 GB, free: 1.355 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/1.15, allocations: 306.6 kB / 1.423 GB, free: 1.047 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/1.151, allocations: 181.3 kB / 1.423 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/1.151, allocations: 101.1 kB / 1.423 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/1.151, allocations: 34.56 kB / 1.423 GB, free: 0.707 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 2.936e-06/1.151, allocations: 0 / 1.423 GB, free: 0.707 MB / 1.139 GB Notification: Performance of matching and sorting (n=32): time 0.004223/1.155, allocations: 1.697 MB / 1.425 GB, free: 14.93 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.155, allocations: 59.39 kB / 1.425 GB, free: 14.86 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/1.161, allocations: 2.949 MB / 1.428 GB, free: 11.89 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/1.161, allocations: 33.7 kB / 1.428 GB, free: 11.85 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.162, allocations: 1.066 MB / 1.429 GB, free: 10.78 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/1.162, allocations: 110.4 kB / 1.429 GB, free: 10.67 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/1.162, allocations: 114 kB / 1.429 GB, free: 10.55 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.163, allocations: 326 kB / 1.429 GB, free: 10.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/1.163, allocations: 165 kB / 1.429 GB, free: 10.07 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/1.163, allocations: 370.3 kB / 1.43 GB, free: 9.621 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/1.166, allocations: 1.075 MB / 1.431 GB, free: 8.441 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/1.166, allocations: 7.938 kB / 1.431 GB, free: 8.434 MB / 1.154 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001676/1.167, allocations: 0.7884 MB / 1.432 GB, free: 7.633 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.167, allocations: 8.094 kB / 1.432 GB, free: 7.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.167, allocations: 15.94 kB / 1.432 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/1.168, allocations: 60.83 kB / 1.432 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/1.168, allocations: 99.83 kB / 1.432 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/1.17, allocations: 1.874 MB / 1.434 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.171, allocations: 27.84 kB / 1.434 GB, free: 5.414 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/1.171, allocations: 27.94 kB / 1.434 GB, free: 5.387 MB / 1.154 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001328/1.173, allocations: 0.7943 MB / 1.434 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/1.173, allocations: 229.1 kB / 1.435 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/1.174, allocations: 255.7 kB / 1.435 GB, free: 4.102 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/1.174, allocations: 7.984 kB / 1.435 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.174, allocations: 0 / 1.435 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007456/1.175, allocations: 0.6008 MB / 1.435 GB, free: 3.422 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/1.179, allocations: 2.045 MB / 1.437 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.179, allocations: 4 kB / 1.437 GB, free: 1.266 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/1.179, allocations: 63.91 kB / 1.437 GB, free: 1.203 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/1.179, allocations: 56.81 kB / 1.438 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/1.18, allocations: 8.406 kB / 1.438 GB, free: 1.137 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.181, allocations: 1.865 MB / 1.439 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.181, allocations: 11.92 kB / 1.439 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/1.183, allocations: 0.9249 MB / 1.44 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.184, allocations: 402.1 kB / 1.441 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/1.184, allocations: 8 kB / 1.441 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/1.185, allocations: 19.98 kB / 1.441 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.185, allocations: 35.88 kB / 1.441 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/1.185, allocations: 12 kB / 1.441 GB, free: 13.64 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.005141/1.191, allocations: 2.091 MB / 1.443 GB, free: 11.55 MB / 1.17 GB Notification: Performance of sort global known variables: time 5.41e-07/1.191, allocations: 0 / 1.443 GB, free: 11.55 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001613/1.192, allocations: 300 kB / 1.443 GB, free: 11.26 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005886/1.193, allocations: 165.9 kB / 1.443 GB, free: 11.1 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001142/1.194, allocations: 0.5295 MB / 1.444 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.194, allocations: 5.625 kB / 1.444 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004569/1.194, allocations: 307.2 kB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.2, allocations: 0.9433 MB / 1.445 GB, free: 9.32 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/1.208, allocations: 3.942 MB / 1.449 GB, free: 5.293 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/1.211, allocations: 1.823 MB / 1.451 GB, free: 3.438 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.211, allocations: 103.4 kB / 1.451 GB, free: 3.336 MB / 1.17 GB Notification: Performance of SimCode: time 1.132e-06/1.211, allocations: 0 / 1.451 GB, free: 3.336 MB / 1.17 GB Notification: Performance of Templates: time 0.06136/1.272, allocations: 43.25 MB / 1.493 GB, free: 8.281 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches