Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001191/0.001191, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.201/1.201, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.203/2.203, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 61.94 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2773, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5889/0.8662, allocations: 156.8 MB / 1.18 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.8909, allocations: 21.75 MB / 1.201 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.8927, allocations: 54.25 kB / 1.201 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.8943, allocations: 1.16 MB / 1.202 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.8955, allocations: 0.8597 MB / 1.203 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.8964, allocations: 437.1 kB / 1.203 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.8975, allocations: 1.261 MB / 1.205 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006491/0.8981, allocations: 0.68 MB / 1.205 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.8987, allocations: 0.5485 MB / 1.206 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008425/0.8995, allocations: 0.9172 MB / 1.207 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.8996, allocations: 65.5 kB / 1.207 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.8998, allocations: 109.1 kB / 1.207 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.9001, allocations: 319.2 kB / 1.207 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.9004, allocations: 491.4 kB / 1.208 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.9014, allocations: 1.198 MB / 1.209 GB, free: 15.85 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9014, allocations: 4 kB / 1.209 GB, free: 15.85 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9014, allocations: 0 / 1.209 GB, free: 15.85 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.9014, allocations: 0 / 1.209 GB, free: 15.85 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.002003/0.9034, allocations: 1.475 MB / 1.21 GB, free: 14.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.9035, allocations: 14.22 kB / 1.21 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.9036, allocations: 130.4 kB / 1.211 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008112/0.9045, allocations: 0.6713 MB / 1.211 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.9046, allocations: 72.09 kB / 1.211 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.9046, allocations: 48.47 kB / 1.211 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.9054, allocations: 0.5167 MB / 1.212 GB, free: 13.67 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.9055, allocations: 6.734 kB / 1.212 GB, free: 13.67 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.9055, allocations: 20.28 kB / 1.212 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.9055, allocations: 10.66 kB / 1.212 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.9062, allocations: 410.7 kB / 1.212 GB, free: 13.46 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.003004/0.9093, allocations: 2.725 MB / 1.215 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.9101, allocations: 442.5 kB / 1.215 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.9106, allocations: 306.8 kB / 1.216 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.9107, allocations: 3.359 kB / 1.216 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.9111, allocations: 282.3 kB / 1.216 GB, free: 10.54 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 3.397e-06/0.9111, allocations: 4 kB / 1.216 GB, free: 10.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.002247/0.9134, allocations: 1.149 MB / 1.217 GB, free: 9.832 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.9134, allocations: 56.94 kB / 1.217 GB, free: 9.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.915, allocations: 1.762 MB / 1.219 GB, free: 8.418 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.915, allocations: 41.64 kB / 1.219 GB, free: 8.371 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.9154, allocations: 0.521 MB / 1.219 GB, free: 7.848 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.9155, allocations: 150 kB / 1.219 GB, free: 7.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.9156, allocations: 102.2 kB / 1.22 GB, free: 7.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9158, allocations: 322 kB / 1.22 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.9162, allocations: 213 kB / 1.22 GB, free: 7.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.9167, allocations: 343.1 kB / 1.22 GB, free: 6.684 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.9175, allocations: 0.516 MB / 1.221 GB, free: 6.121 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9175, allocations: 0 / 1.221 GB, free: 6.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001323/0.9188, allocations: 0.8069 MB / 1.222 GB, free: 5.305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9188, allocations: 11.94 kB / 1.222 GB, free: 5.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9189, allocations: 4 kB / 1.222 GB, free: 5.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.9192, allocations: 137.9 kB / 1.222 GB, free: 5.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.9196, allocations: 103.9 kB / 1.222 GB, free: 5.051 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.9221, allocations: 2.614 MB / 1.224 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.9225, allocations: 79.55 kB / 1.225 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.9225, allocations: 20 kB / 1.225 GB, free: 2.207 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003906/0.9229, allocations: 384.4 kB / 1.225 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.923, allocations: 122.5 kB / 1.225 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.9232, allocations: 139.7 kB / 1.225 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9232, allocations: 8 kB / 1.225 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.9232, allocations: 4 kB / 1.225 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9232, allocations: 3.984 kB / 1.225 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.9253, allocations: 1.493 MB / 1.227 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.9253, allocations: 48 / 1.227 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.9255, allocations: 43.92 kB / 1.227 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003455/0.9259, allocations: 169.5 kB / 1.227 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.9259, allocations: 12 kB / 1.227 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.9291, allocations: 4.025 MB / 1.231 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9291, allocations: 0 / 1.231 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.9306, allocations: 0.9851 MB / 1.232 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.9309, allocations: 215.5 kB / 1.232 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.931, allocations: 15.94 kB / 1.232 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.9313, allocations: 31.97 kB / 1.232 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.9314, allocations: 55.86 kB / 1.232 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.9314, allocations: 15.98 kB / 1.232 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001163/0.9326, allocations: 1.289 MB / 1.233 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9326, allocations: 0 / 1.233 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005869/0.9332, allocations: 199.7 kB / 1.234 GB, free: 8.629 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,12,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.001001/0.9342, allocations: 476.3 kB / 1.234 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.9354, allocations: 0.6629 MB / 1.235 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9354, allocations: 0 / 1.235 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.9361, allocations: 0.5207 MB / 1.235 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.9369, allocations: 200.3 kB / 1.235 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.9398, allocations: 2.364 MB / 1.238 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.9405, allocations: 1.153 MB / 1.239 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.9407, allocations: 104.7 kB / 1.239 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.9408, allocations: 47.42 kB / 1.239 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.9408, allocations: 0 / 1.239 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.0158/0.9567, allocations: 10.04 MB / 1.249 GB, free: 9.293 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches