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.001081/0.001081, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001122/0.001122, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 62.44 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.61/0.8719, allocations: 156.8 MB / 1.18 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02748/0.8994, allocations: 21.75 MB / 1.201 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.9017, allocations: 54.06 kB / 1.201 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.9034, allocations: 1.16 MB / 1.202 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.9049, allocations: 0.8589 MB / 1.203 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.9062, allocations: 444.2 kB / 1.204 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.9075, allocations: 1.261 MB / 1.205 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007788/0.9083, allocations: 0.6757 MB / 1.205 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.9089, allocations: 0.5526 MB / 1.206 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009724/0.9099, allocations: 0.9177 MB / 1.207 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.91, allocations: 64.03 kB / 1.207 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.9103, allocations: 112.8 kB / 1.207 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.9106, allocations: 311.3 kB / 1.207 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.911, allocations: 0.4884 MB / 1.208 GB, free: 444 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.9124, allocations: 1.201 MB / 1.209 GB, free: 15.6 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9124, allocations: 0 / 1.209 GB, free: 15.6 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9124, allocations: 0 / 1.209 GB, free: 15.6 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.9125, allocations: 2.406 kB / 1.209 GB, free: 15.6 MB / 0.92 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.002435/0.9149, allocations: 1.478 MB / 1.21 GB, free: 14.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.9149, allocations: 10.09 kB / 1.21 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.9151, allocations: 134.3 kB / 1.211 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.916, allocations: 0.6638 MB / 1.211 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.9161, allocations: 75.84 kB / 1.211 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.9162, allocations: 44.56 kB / 1.211 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.9171, allocations: 0.5183 MB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.9171, allocations: 0 / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.9172, allocations: 22.03 kB / 1.212 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.9172, allocations: 9.5 kB / 1.212 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007959/0.918, allocations: 415.1 kB / 1.212 GB, free: 13.21 MB / 0.92 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.003519/0.9215, allocations: 2.803 MB / 1.215 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.9226, allocations: 462.7 kB / 1.215 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.9231, allocations: 275.3 kB / 1.216 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.9232, allocations: 4.984 kB / 1.216 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005365/0.9237, allocations: 295.8 kB / 1.216 GB, free: 10.21 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/0.9237, allocations: 2.562 kB / 1.216 GB, free: 10.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002914/0.9266, allocations: 1.245 MB / 1.217 GB, free: 9.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.9267, allocations: 62.86 kB / 1.217 GB, free: 9.387 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.9286, allocations: 1.749 MB / 1.219 GB, free: 8.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.9286, allocations: 37.7 kB / 1.219 GB, free: 8.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.929, allocations: 0.5179 MB / 1.219 GB, free: 7.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9292, allocations: 149.9 kB / 1.22 GB, free: 7.352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.9293, allocations: 94.25 kB / 1.22 GB, free: 7.254 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9295, allocations: 326 kB / 1.22 GB, free: 6.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.93, allocations: 221 kB / 1.22 GB, free: 6.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.9305, allocations: 328.8 kB / 1.221 GB, free: 6.355 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008622/0.9314, allocations: 0.5065 MB / 1.221 GB, free: 5.812 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.9314, allocations: 4 kB / 1.221 GB, free: 5.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001588/0.933, allocations: 0.8428 MB / 1.222 GB, free: 4.957 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.933, allocations: 8.156 kB / 1.222 GB, free: 4.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.933, allocations: 8 kB / 1.222 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.9336, allocations: 184.6 kB / 1.222 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.9339, allocations: 95.81 kB / 1.222 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.9373, allocations: 2.992 MB / 1.225 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.9378, allocations: 71.56 kB / 1.225 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.9378, allocations: 19.98 kB / 1.225 GB, free: 1.449 MB / 0.92 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.0005054/0.9383, allocations: 393.2 kB / 1.226 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.9385, allocations: 122.4 kB / 1.226 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.9387, allocations: 143.7 kB / 1.226 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9387, allocations: 8 kB / 1.226 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.9387, allocations: 4 kB / 1.226 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9387, allocations: 3.984 kB / 1.226 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.9412, allocations: 1.564 MB / 1.227 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.9412, allocations: 0 / 1.227 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.9414, allocations: 47.84 kB / 1.227 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.9419, allocations: 193.6 kB / 1.228 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.942, allocations: 15.98 kB / 1.228 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.9462, allocations: 4.55 MB / 1.232 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9462, allocations: 0 / 1.232 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.948, allocations: 1.062 MB / 1.233 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.9483, allocations: 211.6 kB / 1.233 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.9484, allocations: 15.98 kB / 1.233 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.9487, allocations: 35.97 kB / 1.233 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.9489, allocations: 55.92 kB / 1.233 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.9489, allocations: 8 kB / 1.233 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001351/0.9503, allocations: 1.281 MB / 1.235 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9503, allocations: 4 kB / 1.235 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000743/0.951, allocations: 203.7 kB / 1.235 GB, free: 7.16 MB / 0.9356 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.001065/0.9521, allocations: 481.9 kB / 1.235 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.9535, allocations: 0.7163 MB / 1.236 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9535, allocations: 4.062 kB / 1.236 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.9544, allocations: 0.5513 MB / 1.237 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.9554, allocations: 204.3 kB / 1.237 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.9588, allocations: 2.364 MB / 1.239 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/0.9596, allocations: 1.153 MB / 1.24 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002808/0.9599, allocations: 92.78 kB / 1.24 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.96, allocations: 47.42 kB / 1.24 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.96, allocations: 4 kB / 1.24 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.0187/0.9787, allocations: 10.45 MB / 1.25 GB, free: 7.328 MB / 0.9512 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 -s gbode -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