Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 100.1 kB / 15.88 MB, free: 12 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.001479/0.001479, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.328/1.328, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.649/2.649, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.48 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2695, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1497/0.4192, allocations: 154.5 MB / 1.204 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.4425, allocations: 21.62 MB / 1.225 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.4441, allocations: 47.69 kB / 1.225 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.4457, allocations: 1.126 MB / 1.226 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.447, allocations: 0.8176 MB / 1.227 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.448, allocations: 381.8 kB / 1.227 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4493, allocations: 1.352 MB / 1.228 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.45, allocations: 0.6045 MB / 1.229 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.4506, allocations: 0.4905 MB / 1.229 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.4516, allocations: 0.9137 MB / 1.23 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.4517, allocations: 39.94 kB / 1.23 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.4519, allocations: 75.98 kB / 1.23 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.4522, allocations: 304.8 kB / 1.231 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004122/0.4526, allocations: 460.8 kB / 1.231 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000783/0.4534, allocations: 0.9161 MB / 1.232 GB, free: 48 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4534, allocations: 4 kB / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4534, allocations: 0 / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.4534, allocations: 4 kB / 1.232 GB, free: 40 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002235/0.4557, allocations: 1.471 MB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4557, allocations: 12.03 kB / 1.234 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.4559, allocations: 131.3 kB / 1.234 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.4567, allocations: 0.6705 MB / 1.234 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.4569, allocations: 74.67 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.457, allocations: 48 kB / 1.234 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009565/0.4579, allocations: 0.5145 MB / 1.235 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.458, allocations: 0 / 1.235 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.458, allocations: 16 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.458, allocations: 19.94 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.4588, allocations: 411.7 kB / 1.235 GB, free: 12.56 MB / 0.9981 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.003389/0.4622, allocations: 2.803 MB / 1.238 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.4633, allocations: 453.4 kB / 1.238 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.4638, allocations: 285.3 kB / 1.239 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.4639, allocations: 4.656 kB / 1.239 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.4644, allocations: 305.8 kB / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.786e-06/0.4645, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002938/0.4674, allocations: 1.234 MB / 1.24 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4675, allocations: 59.41 kB / 1.24 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.4692, allocations: 1.744 MB / 1.242 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.4693, allocations: 41.64 kB / 1.242 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.4697, allocations: 0.5217 MB / 1.243 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4698, allocations: 146.4 kB / 1.243 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.47, allocations: 98.25 kB / 1.243 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4701, allocations: 334 kB / 1.243 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.4706, allocations: 220.9 kB / 1.243 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.4712, allocations: 324.8 kB / 1.244 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.472, allocations: 0.507 MB / 1.244 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4721, allocations: 0 / 1.244 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001588/0.4736, allocations: 0.8497 MB / 1.245 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4737, allocations: 8 kB / 1.245 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4737, allocations: 4 kB / 1.245 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.4742, allocations: 193.8 kB / 1.245 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.4746, allocations: 91.88 kB / 1.245 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4712/0.9457, allocations: 2.735 MB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.9463, allocations: 80.61 kB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.9464, allocations: 20.72 kB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005175/0.9469, allocations: 384.7 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.947, allocations: 118.4 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.9473, allocations: 144 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9473, allocations: 5 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.9473, allocations: 2.438 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9473, allocations: 4.484 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.9497, allocations: 1.566 MB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.9497, allocations: 0.9375 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.9499, allocations: 45.19 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.9505, allocations: 198.6 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.9505, allocations: 11.67 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.9538, allocations: 4.127 MB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9539, allocations: 6.469 kB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.9555, allocations: 1.054 MB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.9557, allocations: 221 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.9558, allocations: 14.53 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.9561, allocations: 38.77 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.9563, allocations: 52.64 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.9563, allocations: 20.48 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001104/0.9574, allocations: 1.277 MB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9574, allocations: 0 / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000806/0.9582, allocations: 213.2 kB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.9593, allocations: 485.9 kB / 1.258 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.9607, allocations: 0.7113 MB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9607, allocations: 6.594 kB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.9615, allocations: 0.547 MB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.9625, allocations: 182.3 kB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.9657, allocations: 2.761 MB / 1.262 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.9663, allocations: 1.144 MB / 1.263 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.9664, allocations: 46.88 kB / 1.263 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.9664, allocations: 0 / 1.263 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02959/0.996, allocations: 17.82 MB / 1.28 GB, free: 182.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches