Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002031/0.002031, allocations: 198 kB / 16.14 MB, free: 6.711 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.584, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1758/0.7599, allocations: 154.8 MB / 1.168 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.7878, allocations: 21.73 MB / 1.189 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.7896, allocations: 51.69 kB / 1.189 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.7917, allocations: 1.306 MB / 1.19 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.7933, allocations: 0.9345 MB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.7946, allocations: 450.6 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.7965, allocations: 1.52 MB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008851/0.7974, allocations: 0.7074 MB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.7981, allocations: 0.5839 MB / 1.194 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.7994, allocations: 1.098 MB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.7995, allocations: 40 kB / 1.196 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.7998, allocations: 91.98 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.8002, allocations: 356.5 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.8007, allocations: 0.5276 MB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.8019, allocations: 1.311 MB / 1.198 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.802, allocations: 0 / 1.198 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.802, allocations: 8 kB / 1.198 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.802, allocations: 0 / 1.198 GB, free: 8.645 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0027/0.8047, allocations: 1.673 MB / 1.199 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.8047, allocations: 12.03 kB / 1.199 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.805, allocations: 166.9 kB / 1.2 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.806, allocations: 0.736 MB / 1.2 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.8062, allocations: 82.69 kB / 1.2 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/0.8063, allocations: 51.98 kB / 1.2 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.8074, allocations: 0.5653 MB / 1.201 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.8074, allocations: 7.906 kB / 1.201 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.8075, allocations: 23.94 kB / 1.201 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.8075, allocations: 16 kB / 1.201 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.8085, allocations: 443.7 kB / 1.201 GB, free: 4.758 MB / 0.9512 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.004054/0.8126, allocations: 3.017 MB / 1.204 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.8137, allocations: 495.5 kB / 1.205 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.8144, allocations: 314 kB / 1.205 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.8144, allocations: 8.375 kB / 1.205 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.8151, allocations: 325.1 kB / 1.205 GB, free: 332 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 5.35e-06/0.8151, allocations: 0 / 1.205 GB, free: 332 kB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.003364/0.8185, allocations: 1.356 MB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.8185, allocations: 59.84 kB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.8209, allocations: 2.12 MB / 1.209 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.821, allocations: 37.7 kB / 1.209 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.8215, allocations: 0.6245 MB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.8217, allocations: 169.6 kB / 1.21 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.8219, allocations: 102.3 kB / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8221, allocations: 333.9 kB / 1.21 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.8226, allocations: 237.2 kB / 1.21 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.8232, allocations: 349.8 kB / 1.211 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.8243, allocations: 0.5511 MB / 1.211 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8243, allocations: 0 / 1.211 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00184/0.8262, allocations: 0.9039 MB / 1.212 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.8262, allocations: 9.875 kB / 1.212 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.8262, allocations: 8 kB / 1.212 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.8268, allocations: 198.7 kB / 1.212 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.8272, allocations: 115.7 kB / 1.212 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.831, allocations: 2.796 MB / 1.215 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.8316, allocations: 79.48 kB / 1.215 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.8316, allocations: 27.92 kB / 1.215 GB, free: 5.961 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006733/0.8323, allocations: 446.1 kB / 1.216 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.8325, allocations: 138.2 kB / 1.216 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.8328, allocations: 170 kB / 1.216 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8328, allocations: 4 kB / 1.216 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.8328, allocations: 4 kB / 1.216 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8328, allocations: 3.984 kB / 1.216 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.8359, allocations: 1.73 MB / 1.218 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8359, allocations: 0 / 1.218 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.8362, allocations: 47.97 kB / 1.218 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.8367, allocations: 205.4 kB / 1.218 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.8368, allocations: 12 kB / 1.218 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/0.8417, allocations: 4.178 MB / 1.222 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8417, allocations: 0 / 1.222 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.8439, allocations: 1.165 MB / 1.223 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.8443, allocations: 251.2 kB / 1.223 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.8444, allocations: 12 kB / 1.223 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.8448, allocations: 35.95 kB / 1.223 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.845, allocations: 56.34 kB / 1.223 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.845, allocations: 16 kB / 1.223 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001831/0.8469, allocations: 1.552 MB / 1.225 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8469, allocations: 0 / 1.225 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000866/0.8478, allocations: 227.6 kB / 1.225 GB, free: 11.34 MB / 0.9825 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.00178/0.8495, allocations: 497 kB / 1.226 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.8518, allocations: 0.7549 MB / 1.226 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8518, allocations: 0 / 1.226 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.8529, allocations: 0.582 MB / 1.227 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.8542, allocations: 216.7 kB / 1.227 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/0.8592, allocations: 3.179 MB / 1.23 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.8603, allocations: 1.243 MB / 1.232 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003795/0.8607, allocations: 93.11 kB / 1.232 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.8609, allocations: 47.42 kB / 1.232 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8609, allocations: 3.938 kB / 1.232 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of Templates: time 0.02325/0.8841, allocations: 10.8 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches