Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001366, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001475/0.001475, allocations: 198 kB / 17.3 MB, free: 5.883 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.334/1.334, 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.429/2.429, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.23 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.603/0.867, allocations: 156.8 MB / 1.18 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0236/0.8907, allocations: 21.75 MB / 1.201 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.8926, allocations: 51.5 kB / 1.201 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.8942, allocations: 1.163 MB / 1.202 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.8955, allocations: 0.8504 MB / 1.203 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.8966, allocations: 444.3 kB / 1.203 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.8977, allocations: 1.264 MB / 1.205 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.8985, allocations: 0.6736 MB / 1.205 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.899, allocations: 0.5558 MB / 1.206 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008741/0.8999, allocations: 0.9101 MB / 1.207 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.9, allocations: 72.08 kB / 1.207 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.9003, allocations: 109.2 kB / 1.207 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.9005, allocations: 319 kB / 1.207 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.9009, allocations: 495.5 kB / 1.208 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009797/0.9019, allocations: 1.195 MB / 1.209 GB, free: 15.69 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9019, allocations: 3.938 kB / 1.209 GB, free: 15.69 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9019, allocations: 0 / 1.209 GB, free: 15.69 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.902, allocations: 0 / 1.209 GB, free: 15.69 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.002048/0.904, allocations: 1.484 MB / 1.21 GB, free: 14.53 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.9041, allocations: 7.75 kB / 1.21 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.9042, allocations: 136.8 kB / 1.211 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008129/0.905, allocations: 0.6597 MB / 1.211 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.9052, allocations: 79.77 kB / 1.211 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.9053, allocations: 50.59 kB / 1.211 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.9061, allocations: 0.52 MB / 1.212 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.9061, allocations: 0 / 1.212 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.9062, allocations: 14.69 kB / 1.212 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9062, allocations: 12.78 kB / 1.212 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.907, allocations: 414.7 kB / 1.212 GB, free: 13.29 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.003369/0.9104, allocations: 2.796 MB / 1.215 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.9113, allocations: 452.8 kB / 1.215 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.9118, allocations: 282.8 kB / 1.216 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.9119, allocations: 9.953 kB / 1.216 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.9124, allocations: 299.9 kB / 1.216 GB, free: 10.29 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.9124, allocations: 2.781 kB / 1.216 GB, free: 10.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002767/0.9152, allocations: 1.246 MB / 1.217 GB, free: 9.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.9153, allocations: 56.28 kB / 1.217 GB, free: 9.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.9169, allocations: 1.745 MB / 1.219 GB, free: 8.148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.917, allocations: 37.7 kB / 1.219 GB, free: 8.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.9173, allocations: 0.5218 MB / 1.219 GB, free: 7.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.9175, allocations: 145.9 kB / 1.22 GB, free: 7.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.9176, allocations: 98.23 kB / 1.22 GB, free: 7.336 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.9177, allocations: 322 kB / 1.22 GB, free: 7.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.9182, allocations: 221 kB / 1.22 GB, free: 6.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.9187, allocations: 324.9 kB / 1.221 GB, free: 6.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/0.9196, allocations: 0.5106 MB / 1.221 GB, free: 5.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.9196, allocations: 0 / 1.221 GB, free: 5.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001527/0.9211, allocations: 0.8545 MB / 1.222 GB, free: 5.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.9211, allocations: 4 kB / 1.222 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/0.9212, allocations: 4 kB / 1.222 GB, free: 5.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.9217, allocations: 180.7 kB / 1.222 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.922, allocations: 99.98 kB / 1.222 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.9254, allocations: 3.001 MB / 1.225 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.9258, allocations: 67.5 kB / 1.225 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.9259, allocations: 20 kB / 1.225 GB, free: 1.527 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.000518/0.9264, allocations: 389.3 kB / 1.226 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.9265, allocations: 126.4 kB / 1.226 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.9267, allocations: 139.7 kB / 1.226 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9268, allocations: 8 kB / 1.226 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.9268, allocations: 0 / 1.226 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9268, allocations: 0 / 1.226 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.9292, allocations: 1.572 MB / 1.227 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9292, allocations: 0 / 1.227 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.9294, allocations: 39.97 kB / 1.227 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.9299, allocations: 198.3 kB / 1.228 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.9299, allocations: 8 kB / 1.228 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/0.9339, allocations: 4.565 MB / 1.232 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9339, allocations: 3.938 kB / 1.232 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.9356, allocations: 1.055 MB / 1.233 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.9359, allocations: 219.6 kB / 1.233 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.936, allocations: 11.98 kB / 1.233 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.9364, allocations: 31.97 kB / 1.233 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9365, allocations: 51.92 kB / 1.233 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.9365, allocations: 12 kB / 1.233 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001243/0.9378, allocations: 1.281 MB / 1.235 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9378, allocations: 0 / 1.235 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007448/0.9385, allocations: 203.7 kB / 1.235 GB, free: 7.246 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.001071/0.9396, allocations: 483.8 kB / 1.235 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.941, allocations: 0.716 MB / 1.236 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9411, allocations: 3.938 kB / 1.236 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.9419, allocations: 0.5634 MB / 1.237 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/0.9428, allocations: 205.6 kB / 1.237 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.946, allocations: 2.361 MB / 1.239 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.9468, allocations: 1.157 MB / 1.24 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000231/0.947, allocations: 88.8 kB / 1.24 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.9471, allocations: 43.42 kB / 1.24 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9471, allocations: 0 / 1.24 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of Templates: time 0.01849/0.9656, allocations: 10.46 MB / 1.25 GB, free: 7.406 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches