Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 116 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 489.3 MB / 0.7687 GB, free: 3.836 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9812/0.9833, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2043/1.188, allocations: 157.1 MB / 1.416 GB, free: 3.785 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03072/1.218, allocations: 21.9 MB / 1.437 GB, free: 1.844 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004045/1.223, allocations: 55.22 kB / 1.437 GB, free: 1.824 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/1.225, allocations: 1.347 MB / 1.439 GB, free: 1.125 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/1.227, allocations: 0.9768 MB / 1.44 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/1.229, allocations: 0.5056 MB / 1.44 GB, free: 132 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002329/1.231, allocations: 1.429 MB / 1.442 GB, free: 15.33 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/1.232, allocations: 0.788 MB / 1.442 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/1.234, allocations: 0.6406 MB / 1.443 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/1.235, allocations: 1.094 MB / 1.444 GB, free: 13.99 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/1.235, allocations: 76.44 kB / 1.444 GB, free: 13.98 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/1.236, allocations: 128.8 kB / 1.444 GB, free: 13.96 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/1.236, allocations: 370.2 kB / 1.445 GB, free: 13.73 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005856/1.237, allocations: 0.5525 MB / 1.445 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/1.238, allocations: 1.375 MB / 1.446 GB, free: 11.8 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.238, allocations: 0 / 1.446 GB, free: 11.8 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.714e-06/1.238, allocations: 0 / 1.446 GB, free: 11.8 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.238, allocations: 0 / 1.446 GB, free: 11.8 MB / 1.139 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.002768/1.241, allocations: 1.733 MB / 1.448 GB, free: 10.01 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.241, allocations: 8.031 kB / 1.448 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/1.241, allocations: 167.9 kB / 1.448 GB, free: 9.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.243, allocations: 0.7724 MB / 1.449 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.243, allocations: 78.69 kB / 1.449 GB, free: 8.938 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/1.243, allocations: 52 kB / 1.449 GB, free: 8.887 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.244, allocations: 0.5691 MB / 1.45 GB, free: 8.301 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.244, allocations: 0 / 1.45 GB, free: 8.301 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/1.244, allocations: 23.98 kB / 1.45 GB, free: 8.277 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/1.244, allocations: 12 kB / 1.45 GB, free: 8.266 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/1.245, allocations: 451.7 kB / 1.45 GB, free: 7.828 MB / 1.139 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.004203/1.249, allocations: 3.002 MB / 1.453 GB, free: 4.547 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.25, allocations: 0.4915 MB / 1.454 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/1.251, allocations: 317.4 kB / 1.454 GB, free: 3.734 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/1.251, allocations: 12.36 kB / 1.454 GB, free: 3.723 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/1.252, allocations: 329.1 kB / 1.454 GB, free: 3.387 MB / 1.139 GB Notification: Performance of pre-optimization done (n=52): time 2.195e-06/1.252, allocations: 4 kB / 1.454 GB, free: 3.383 MB / 1.139 GB Notification: Performance of matching and sorting (n=52): time 0.003757/1.256, allocations: 1.353 MB / 1.456 GB, free: 1.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/1.256, allocations: 63.77 kB / 1.456 GB, free: 1.906 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.259, allocations: 2.12 MB / 1.458 GB, free: 15.77 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.259, allocations: 45.69 kB / 1.458 GB, free: 15.72 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007097/1.259, allocations: 0.6249 MB / 1.458 GB, free: 15.09 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/1.26, allocations: 178.5 kB / 1.459 GB, free: 14.92 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.26, allocations: 106.3 kB / 1.459 GB, free: 14.81 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.26, allocations: 326 kB / 1.459 GB, free: 14.48 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/1.261, allocations: 237.1 kB / 1.459 GB, free: 14.25 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/1.261, allocations: 341.9 kB / 1.459 GB, free: 13.88 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/1.262, allocations: 0.5536 MB / 1.46 GB, free: 13.29 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.262, allocations: 0.5469 kB / 1.46 GB, free: 13.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002207/1.265, allocations: 0.9187 MB / 1.461 GB, free: 12.36 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.265, allocations: 4 kB / 1.461 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.265, allocations: 4 kB / 1.461 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/1.265, allocations: 198.9 kB / 1.461 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/1.266, allocations: 111.7 kB / 1.461 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/1.27, allocations: 3.047 MB / 1.464 GB, free: 8.863 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/1.271, allocations: 79.64 kB / 1.464 GB, free: 8.785 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/1.271, allocations: 20 kB / 1.464 GB, free: 8.766 MB / 1.154 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.0006477/1.271, allocations: 439.7 kB / 1.465 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/1.272, allocations: 147 kB / 1.465 GB, free: 8.184 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/1.272, allocations: 166 kB / 1.465 GB, free: 8.02 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/1.272, allocations: 7.938 kB / 1.465 GB, free: 8.012 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.272, allocations: 12 kB / 1.465 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.272, allocations: 3.984 kB / 1.465 GB, free: 7.996 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/1.275, allocations: 1.735 MB / 1.467 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.275, allocations: 0 / 1.467 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/1.275, allocations: 51.89 kB / 1.467 GB, free: 6.145 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/1.276, allocations: 204.2 kB / 1.467 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.276, allocations: 11.98 kB / 1.467 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/1.281, allocations: 4.608 MB / 1.471 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.281, allocations: 0 / 1.471 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/1.284, allocations: 1.171 MB / 1.473 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.284, allocations: 244 kB / 1.473 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.284, allocations: 15.98 kB / 1.473 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/1.285, allocations: 31.97 kB / 1.473 GB, free: 15.54 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.285, allocations: 56.36 kB / 1.473 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/1.285, allocations: 23.98 kB / 1.473 GB, free: 15.46 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001951/1.287, allocations: 1.545 MB / 1.475 GB, free: 13.91 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/1.287, allocations: 0 / 1.475 GB, free: 13.91 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009031/1.288, allocations: 231.6 kB / 1.475 GB, free: 13.69 MB / 1.17 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.00181/1.289, allocations: 487.5 kB / 1.475 GB, free: 13.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001844/1.291, allocations: 0.761 MB / 1.476 GB, free: 12.63 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.291, allocations: 3.938 kB / 1.476 GB, free: 12.63 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.292, allocations: 0.5738 MB / 1.476 GB, free: 12.03 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/1.294, allocations: 244.5 kB / 1.477 GB, free: 11.81 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/1.298, allocations: 2.886 MB / 1.48 GB, free: 8.879 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.299, allocations: 1.232 MB / 1.481 GB, free: 7.617 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/1.299, allocations: 51.42 kB / 1.481 GB, free: 7.566 MB / 1.17 GB Notification: Performance of SimCode: time 4.11e-07/1.299, allocations: 0 / 1.481 GB, free: 7.566 MB / 1.17 GB Notification: Performance of Templates: time 0.03199/1.331, allocations: 20.46 MB / 1.501 GB, free: 3.129 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.214603011030704]