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.00109/0.00109, allocations: 110.5 kB / 16.37 MB, free: 6.016 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.001116/0.001116, allocations: 194.3 kB / 17.31 MB, free: 5.613 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.405/2.405, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 72.59 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2582, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5933/0.8516, allocations: 156.8 MB / 1.18 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.8743, allocations: 21.76 MB / 1.201 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.876, allocations: 51.5 kB / 1.201 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.8775, allocations: 1.167 MB / 1.202 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.8787, allocations: 0.8477 MB / 1.203 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.8798, allocations: 442 kB / 1.203 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.8808, allocations: 1.263 MB / 1.205 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.8815, allocations: 0.6842 MB / 1.205 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.882, allocations: 0.5507 MB / 1.206 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008537/0.8829, allocations: 0.9177 MB / 1.207 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.883, allocations: 65.88 kB / 1.207 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.8832, allocations: 114.2 kB / 1.207 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.8835, allocations: 313.8 kB / 1.207 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.8838, allocations: 495.8 kB / 1.208 GB, free: 404 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.8847, allocations: 1.197 MB / 1.209 GB, free: 15.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.8847, allocations: 0 / 1.209 GB, free: 15.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8848, allocations: 0 / 1.209 GB, free: 15.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.8848, allocations: 0 / 1.209 GB, free: 15.57 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.001913/0.8867, allocations: 1.483 MB / 1.21 GB, free: 14.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.8867, allocations: 9.969 kB / 1.21 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.8869, allocations: 130 kB / 1.211 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.8877, allocations: 0.664 MB / 1.211 GB, free: 13.78 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.8878, allocations: 78.34 kB / 1.211 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.8879, allocations: 50.52 kB / 1.211 GB, free: 13.71 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.8887, allocations: 0.5175 MB / 1.212 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.8888, allocations: 0 / 1.212 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.8888, allocations: 16.72 kB / 1.212 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.8888, allocations: 10.47 kB / 1.212 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.8896, allocations: 418.5 kB / 1.212 GB, free: 13.17 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.003087/0.8927, allocations: 2.711 MB / 1.215 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.8935, allocations: 446 kB / 1.215 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.8941, allocations: 311.7 kB / 1.216 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.8942, allocations: 5.453 kB / 1.216 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.8947, allocations: 292 kB / 1.216 GB, free: 10.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.8947, allocations: 3.938 kB / 1.216 GB, free: 10.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.002459/0.8972, allocations: 1.141 MB / 1.217 GB, free: 9.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.8972, allocations: 60.91 kB / 1.217 GB, free: 9.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.8989, allocations: 1.76 MB / 1.219 GB, free: 8.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.8989, allocations: 37.7 kB / 1.219 GB, free: 8.156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.8993, allocations: 0.5288 MB / 1.219 GB, free: 7.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.8994, allocations: 142 kB / 1.219 GB, free: 7.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.8996, allocations: 98.19 kB / 1.22 GB, free: 7.383 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8997, allocations: 334 kB / 1.22 GB, free: 7.051 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.9001, allocations: 209 kB / 1.22 GB, free: 6.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.9006, allocations: 339.2 kB / 1.22 GB, free: 6.469 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.9015, allocations: 0.5159 MB / 1.221 GB, free: 5.906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9015, allocations: 4 kB / 1.221 GB, free: 5.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001384/0.9029, allocations: 0.8026 MB / 1.222 GB, free: 5.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.9029, allocations: 19.2 kB / 1.222 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.9029, allocations: 4 kB / 1.222 GB, free: 5.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.9033, allocations: 132.9 kB / 1.222 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.9037, allocations: 107.8 kB / 1.222 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.9063, allocations: 2.603 MB / 1.224 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.9067, allocations: 71.48 kB / 1.225 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.9068, allocations: 27.94 kB / 1.225 GB, free: 1.996 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.0003986/0.9072, allocations: 383.4 kB / 1.225 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.9073, allocations: 114.5 kB / 1.225 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.9075, allocations: 147.7 kB / 1.225 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9075, allocations: 7.984 kB / 1.225 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.9075, allocations: 0 / 1.225 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9075, allocations: 0 / 1.225 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.9097, allocations: 1.497 MB / 1.227 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9097, allocations: 0 / 1.227 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.9099, allocations: 47.89 kB / 1.227 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.9103, allocations: 165.6 kB / 1.227 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.9103, allocations: 15.98 kB / 1.227 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/0.9137, allocations: 4.02 MB / 1.231 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9137, allocations: 0 / 1.231 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.9153, allocations: 0.9969 MB / 1.232 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.9156, allocations: 215.6 kB / 1.232 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/0.9157, allocations: 15.98 kB / 1.232 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.916, allocations: 31.95 kB / 1.232 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.9161, allocations: 51.92 kB / 1.232 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.9161, allocations: 12 kB / 1.232 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001225/0.9174, allocations: 1.296 MB / 1.233 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9174, allocations: 3.938 kB / 1.233 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006344/0.918, allocations: 195.7 kB / 1.234 GB, free: 8.41 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.001033/0.9191, allocations: 478.1 kB / 1.234 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.9203, allocations: 0.6626 MB / 1.235 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9203, allocations: 0 / 1.235 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007353/0.921, allocations: 0.5249 MB / 1.235 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.9219, allocations: 204.5 kB / 1.235 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.925, allocations: 2.368 MB / 1.238 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.9257, allocations: 1.149 MB / 1.239 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.926, allocations: 88.78 kB / 1.239 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.9261, allocations: 47.42 kB / 1.239 GB, free: 3 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.9261, allocations: 0 / 1.239 GB, free: 3 MB / 0.9356 GB Notification: Performance of Templates: time 0.01671/0.9428, allocations: 10.02 MB / 1.249 GB, free: 9.094 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 gbode -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