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.001502/0.001502, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001534/0.001534, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.95 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3737, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.8508/1.225, allocations: 176.8 MB / 1.236 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01693/1.242, allocations: 10.83 MB / 1.247 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/1.245, allocations: 75.56 kB / 1.247 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006367/1.252, allocations: 1.886 MB / 1.249 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005948/1.258, allocations: 1.48 MB / 1.25 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/1.261, allocations: 0.7218 MB / 1.251 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006109/1.267, allocations: 3.162 MB / 1.254 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/1.269, allocations: 1.296 MB / 1.255 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/1.272, allocations: 1.12 MB / 1.256 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/1.275, allocations: 1.153 MB / 1.258 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006649/1.276, allocations: 132 kB / 1.258 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/1.279, allocations: 0.951 MB / 1.259 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009486/1.28, allocations: 494 kB / 1.259 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002461/1.282, allocations: 1.099 MB / 1.26 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/1.287, allocations: 2.611 MB / 1.263 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.287, allocations: 4 kB / 1.263 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/1.287, allocations: 0 / 1.263 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001273/1.287, allocations: 4 kB / 1.263 GB, free: 13.72 MB / 0.9825 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.00758/1.295, allocations: 2.755 MB / 1.265 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/1.295, allocations: 8.625 kB / 1.265 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/1.297, allocations: 372.5 kB / 1.266 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/1.302, allocations: 1.884 MB / 1.268 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-05/1.302, allocations: 58 kB / 1.268 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/1.303, allocations: 75.91 kB / 1.268 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/1.305, allocations: 0.9445 MB / 1.269 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.305, allocations: 7.922 kB / 1.269 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/1.305, allocations: 32 kB / 1.269 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/1.305, allocations: 25 kB / 1.269 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/1.306, allocations: 0.6986 MB / 1.269 GB, free: 6.695 MB / 0.9825 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.007712/1.314, allocations: 4.483 MB / 1.274 GB, free: 2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/1.315, allocations: 306.6 kB / 1.274 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/1.315, allocations: 188.7 kB / 1.274 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/1.315, allocations: 97.31 kB / 1.274 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.315, allocations: 38.56 kB / 1.274 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/1.315, allocations: 0 / 1.274 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.00385/1.319, allocations: 1.71 MB / 1.276 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/1.319, allocations: 59.41 kB / 1.276 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005728/1.325, allocations: 2.973 MB / 1.279 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/1.325, allocations: 37.7 kB / 1.279 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/1.326, allocations: 1.05 MB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.326, allocations: 114.4 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.327, allocations: 114.1 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.327, allocations: 326 kB / 1.281 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.327, allocations: 161 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/1.327, allocations: 376.1 kB / 1.281 GB, free: 10.23 MB / 0.9981 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.002271/1.33, allocations: 1.068 MB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.33, allocations: 4 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00156/1.331, allocations: 0.8036 MB / 1.283 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.331, allocations: 8 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.331, allocations: 8 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/1.332, allocations: 60.75 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/1.332, allocations: 99.84 kB / 1.283 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/1.334, allocations: 1.877 MB / 1.285 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.335, allocations: 39.83 kB / 1.285 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/1.335, allocations: 27.98 kB / 1.285 GB, free: 5.977 MB / 0.9981 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.001341/1.336, allocations: 0.7979 MB / 1.286 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/1.337, allocations: 229.1 kB / 1.286 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/1.338, allocations: 255.7 kB / 1.286 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.338, allocations: 4 kB / 1.286 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.338, allocations: 0 / 1.286 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007534/1.338, allocations: 0.597 MB / 1.287 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/1.342, allocations: 2.061 MB / 1.289 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.342, allocations: 4 kB / 1.289 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/1.343, allocations: 63.91 kB / 1.289 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/1.343, allocations: 56.81 kB / 1.289 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/1.343, allocations: 8.406 kB / 1.289 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/1.345, allocations: 1.873 MB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.345, allocations: 7.938 kB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.346, allocations: 0.9228 MB / 1.292 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009108/1.347, allocations: 410.1 kB / 1.292 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/1.348, allocations: 8 kB / 1.292 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/1.349, allocations: 32.66 kB / 1.292 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/1.349, allocations: 35.91 kB / 1.292 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/1.349, allocations: 16 kB / 1.292 GB, free: 14.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003982/1.353, allocations: 2.099 MB / 1.294 GB, free: 12.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.353, allocations: 0 / 1.294 GB, free: 12.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001783/1.354, allocations: 300 kB / 1.295 GB, free: 11.8 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.0007143/1.355, allocations: 175.4 kB / 1.295 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001229/1.356, allocations: 0.5463 MB / 1.295 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.356, allocations: 4.062 kB / 1.295 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/1.357, allocations: 306.3 kB / 1.296 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/1.361, allocations: 0.9737 MB / 1.297 GB, free: 9.816 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/1.37, allocations: 4.567 MB / 1.301 GB, free: 5.164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.373, allocations: 1.817 MB / 1.303 GB, free: 3.316 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/1.373, allocations: 123.4 kB / 1.303 GB, free: 3.195 MB / 1.014 GB Notification: Performance of SimCode: time 1.653e-06/1.373, allocations: 3.938 kB / 1.303 GB, free: 3.191 MB / 1.014 GB Notification: Performance of Templates: time 0.07555/1.449, allocations: 44.35 MB / 1.346 GB, free: 7.035 MB / 1.061 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