Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 87.67 kB / 20.24 MB, free: 4.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 161.8 kB / 23.55 MB, free: 0.8594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.049/3.049, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.578e-06/4.578e-06, allocations: 4 kB / 0.8109 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.728e-05, allocations: 3.156 kB / 0.8109 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2489/0.2489, allocations: 175.6 MB / 0.9824 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.2685, allocations: 11.01 MB / 0.9931 GB, free: 6.797 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.2712, allocations: 127 kB / 0.9932 GB, free: 6.672 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.006176/0.2773, allocations: 1.903 MB / 0.9951 GB, free: 4.758 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.2826, allocations: 1.739 MB / 0.9968 GB, free: 3.008 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.2852, allocations: 0.8181 MB / 0.9976 GB, free: 2.188 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005438/0.2906, allocations: 3.268 MB / 1.001 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.2924, allocations: 1.005 MB / 1.002 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.2956, allocations: 1.741 MB / 1.003 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.2979, allocations: 0.9859 MB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.2982, allocations: 128 kB / 1.005 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.3001, allocations: 0.7831 MB / 1.005 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006384/0.3007, allocations: 0.5057 MB / 1.006 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.3018, allocations: 0.6467 MB / 1.006 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.3068, allocations: 3.407 MB / 1.01 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3068, allocations: 0 / 1.01 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3068, allocations: 4 kB / 1.01 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.891e-05/0.3068, allocations: 0 / 1.01 GB, free: 5.668 MB / 0.9636 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.005784/0.3126, allocations: 3.2 MB / 1.013 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3126, allocations: 8.031 kB / 1.013 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.3143, allocations: 465.8 kB / 1.013 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.3185, allocations: 1.958 MB / 1.015 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.3186, allocations: 62 kB / 1.015 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3188, allocations: 76 kB / 1.015 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.3205, allocations: 1.016 MB / 1.016 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.3206, allocations: 3.938 kB / 1.016 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.3207, allocations: 32 kB / 1.016 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.3207, allocations: 29 kB / 1.016 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3219, allocations: 0.5502 MB / 1.017 GB, free: 14.09 MB / 0.9792 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.008179/0.33, allocations: 4.845 MB / 1.022 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.3306, allocations: 259.2 kB / 1.022 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.3309, allocations: 131.6 kB / 1.022 GB, free: 8.75 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.331, allocations: 23.98 kB / 1.022 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.3311, allocations: 41.39 kB / 1.022 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.3311, allocations: 0 / 1.022 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of matching and sorting (n=32): time 0.003354/0.3344, allocations: 1.44 MB / 1.024 GB, free: 7.188 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3345, allocations: 59.34 kB / 1.024 GB, free: 7.117 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/0.3397, allocations: 3.373 MB / 1.027 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.3398, allocations: 29.7 kB / 1.027 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.3417, allocations: 1.369 MB / 1.028 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.3419, allocations: 127 kB / 1.028 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.3421, allocations: 135.9 kB / 1.029 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003086/0.3424, allocations: 0.516 MB / 1.029 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3427, allocations: 121.1 kB / 1.029 GB, free: 1.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.3433, allocations: 0.4954 MB / 1.03 GB, free: 0.7773 MB / 0.9792 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.002377/0.3457, allocations: 0.9422 MB / 1.031 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3457, allocations: 4 kB / 1.031 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001394/0.3471, allocations: 0.7382 MB / 1.031 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3471, allocations: 8 kB / 1.031 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3471, allocations: 4 kB / 1.031 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.3473, allocations: 68.17 kB / 1.031 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.3477, allocations: 103.8 kB / 1.031 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.3501, allocations: 2.336 MB / 1.034 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.3509, allocations: 23.95 kB / 1.034 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.3509, allocations: 24 kB / 1.034 GB, free: 12.28 MB / 0.9948 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.001118/0.352, allocations: 0.7303 MB / 1.034 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.3524, allocations: 238.4 kB / 1.035 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.3527, allocations: 194.2 kB / 1.035 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3527, allocations: 4 kB / 1.035 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3527, allocations: 0 / 1.035 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009928/0.3537, allocations: 0.5453 MB / 1.035 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/0.3581, allocations: 2.405 MB / 1.038 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3582, allocations: 0 / 1.038 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.3585, allocations: 63.91 kB / 1.038 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.3587, allocations: 60.05 kB / 1.038 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.3587, allocations: 16 kB / 1.038 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.361, allocations: 2.329 MB / 1.04 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.361, allocations: 7.938 kB / 1.04 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3624, allocations: 0.9239 MB / 1.041 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007938/0.3632, allocations: 323.4 kB / 1.041 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.3634, allocations: 12 kB / 1.041 GB, free: 4.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.3639, allocations: 15.98 kB / 1.041 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.364, allocations: 35.83 kB / 1.041 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.3641, allocations: 12 kB / 1.041 GB, free: 4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003592/0.3676, allocations: 2.082 MB / 1.044 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3676, allocations: 0 / 1.044 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001089/0.3687, allocations: 296 kB / 1.044 GB, free: 1.621 MB / 0.9948 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.0003336/0.3691, allocations: 168.5 kB / 1.044 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.3701, allocations: 0.5385 MB / 1.044 GB, free: 0.8867 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.3701, allocations: 4 kB / 1.044 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.3706, allocations: 345.7 kB / 1.045 GB, free: 0.5234 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3319/0.7026, allocations: 0.868 MB / 1.046 GB, free: 273.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.707, allocations: 3.929 MB / 1.05 GB, free: 271.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/0.708, allocations: 1.263 MB / 1.051 GB, free: 271.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007677/0.7088, allocations: 251 kB / 1.051 GB, free: 271.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.7089, allocations: 100.5 kB / 1.051 GB, free: 271.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.643e-06/0.7089, allocations: 0 / 1.051 GB, free: 271.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.04246/0.7514, allocations: 28.83 MB / 1.079 GB, free: 267.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.368212857982144]