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 12.0.0-master/package.mo", uses=false) 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.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.001155/0.001155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.19/1.19, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.414/2.414, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 59.47 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2373, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1597/0.397, allocations: 179.3 MB / 1.243 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.457/0.854, allocations: 10.97 MB / 1.254 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.856, allocations: 83.84 kB / 1.254 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.8604, allocations: 2.003 MB / 1.256 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.8636, allocations: 1.611 MB / 1.258 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.8654, allocations: 0.7819 MB / 1.258 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003054/0.8684, allocations: 3.126 MB / 1.261 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.8697, allocations: 1.318 MB / 1.263 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.8712, allocations: 1.1 MB / 1.264 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.8727, allocations: 1.111 MB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.8729, allocations: 130.1 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.8745, allocations: 0.9126 MB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.8749, allocations: 482.1 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008776/0.8758, allocations: 1.098 MB / 1.267 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.8788, allocations: 3.217 MB / 1.271 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8788, allocations: 1.484 kB / 1.271 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8788, allocations: 0.8438 kB / 1.271 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.8788, allocations: 0.7812 kB / 1.271 GB, free: 4.828 MB / 0.9981 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.003754/0.8826, allocations: 2.749 MB / 1.273 GB, free: 19.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.8826, allocations: 10.59 kB / 1.273 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.8839, allocations: 373.9 kB / 1.274 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.8865, allocations: 1.886 MB / 1.275 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.8865, allocations: 60.62 kB / 1.276 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.8867, allocations: 75.5 kB / 1.276 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.8882, allocations: 0.9432 MB / 1.277 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.8882, allocations: 5.156 kB / 1.277 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.8883, allocations: 32.44 kB / 1.277 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.8883, allocations: 27.42 kB / 1.277 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.8894, allocations: 0.7036 MB / 1.277 GB, free: 18.51 MB / 1.014 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.005038/0.8945, allocations: 4.505 MB / 1.282 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.8949, allocations: 306.8 kB / 1.282 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.8951, allocations: 187.6 kB / 1.282 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.8953, allocations: 98.38 kB / 1.282 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.8953, allocations: 37.8 kB / 1.282 GB, free: 16.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.8953, allocations: 0 / 1.282 GB, free: 16.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002424/0.8977, allocations: 1.713 MB / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.8978, allocations: 55.22 kB / 1.284 GB, free: 15.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.9009, allocations: 2.973 MB / 1.287 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.9009, allocations: 35.48 kB / 1.287 GB, free: 15.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.9017, allocations: 1.056 MB / 1.288 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.9017, allocations: 116.2 kB / 1.288 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.9019, allocations: 112 kB / 1.288 GB, free: 14.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.902, allocations: 323.1 kB / 1.288 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.9022, allocations: 166.9 kB / 1.289 GB, free: 14.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.9025, allocations: 364.7 kB / 1.289 GB, free: 14.39 MB / 1.014 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.001759/0.9043, allocations: 1.082 MB / 1.29 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9043, allocations: 3.031 kB / 1.29 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009699/0.9053, allocations: 0.8037 MB / 1.291 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9053, allocations: 9.312 kB / 1.291 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.9053, allocations: 6.719 kB / 1.291 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.9055, allocations: 62.38 kB / 1.291 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.9058, allocations: 102.6 kB / 1.291 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.9071, allocations: 1.868 MB / 1.293 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.9079, allocations: 26.61 kB / 1.293 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.9079, allocations: 24.75 kB / 1.293 GB, free: 12.39 MB / 1.014 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.0008037/0.9087, allocations: 0.7913 MB / 1.294 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.909, allocations: 235.2 kB / 1.294 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.9093, allocations: 254 kB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9093, allocations: 6.344 kB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9093, allocations: 2.438 kB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005685/0.9099, allocations: 0.5977 MB / 1.295 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.9124, allocations: 2.052 MB / 1.297 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.9124, allocations: 2.531 kB / 1.297 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.9127, allocations: 71.08 kB / 1.297 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.9128, allocations: 58.16 kB / 1.297 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.9128, allocations: 11.97 kB / 1.297 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.9141, allocations: 1.866 MB / 1.299 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9141, allocations: 3.531 kB / 1.299 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009232/0.915, allocations: 0.9318 MB / 1.3 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.9155, allocations: 411.3 kB / 1.3 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.9158, allocations: 14.66 kB / 1.3 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.9163, allocations: 20.12 kB / 1.3 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.9164, allocations: 32.64 kB / 1.3 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.9164, allocations: 15.03 kB / 1.3 GB, free: 9.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002306/0.9187, allocations: 2.101 MB / 1.302 GB, free: 9.027 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9187, allocations: 1.062 kB / 1.302 GB, free: 9.027 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009171/0.9196, allocations: 307.5 kB / 1.302 GB, free: 9.023 MB / 1.014 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.0003306/0.92, allocations: 165.3 kB / 1.303 GB, free: 8.934 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007513/0.9207, allocations: 0.5512 MB / 1.303 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9207, allocations: 1.375 kB / 1.303 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.9211, allocations: 298.2 kB / 1.303 GB, free: 8.695 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/0.9242, allocations: 0.954 MB / 1.304 GB, free: 8.562 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.9286, allocations: 4.184 MB / 1.308 GB, free: 7.094 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.9299, allocations: 1.959 MB / 1.31 GB, free: 6.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.9308, allocations: 341 kB / 1.311 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.9309, allocations: 101.3 kB / 1.311 GB, free: 6.25 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.9309, allocations: 4 kB / 1.311 GB, free: 6.246 MB / 1.014 GB Notification: Performance of Templates: time 0.04007/0.971, allocations: 29.8 MB / 1.34 GB, free: 13.89 MB / 1.029 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/jenkins/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