Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 214.7 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 69.84 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3645, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1887/0.5532, allocations: 138.8 MB / 1.461 GB, free: 6.574 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.5816, allocations: 19.84 MB / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.5834, allocations: 71.44 kB / 1.48 GB, free: 2.617 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.5855, allocations: 1.348 MB / 1.482 GB, free: 1.266 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.5877, allocations: 1.047 MB / 1.483 GB, free: 220 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.589, allocations: 422.8 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002016/0.591, allocations: 1.469 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.5921, allocations: 0.633 MB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5932, allocations: 0.662 MB / 1.486 GB, free: 13.01 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.5949, allocations: 1.191 MB / 1.487 GB, free: 11.82 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.5951, allocations: 76 kB / 1.487 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.5956, allocations: 128 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.596, allocations: 384.2 kB / 1.488 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006023/0.5966, allocations: 441.1 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.5983, allocations: 1.4 MB / 1.489 GB, free: 9.402 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5983, allocations: 0 / 1.489 GB, free: 9.402 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5983, allocations: 0 / 1.489 GB, free: 9.402 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.663e-05/0.5983, allocations: 0 / 1.489 GB, free: 9.402 MB / 1.186 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.003395/0.6017, allocations: 1.74 MB / 1.491 GB, free: 7.621 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6018, allocations: 12.03 kB / 1.491 GB, free: 7.609 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.6022, allocations: 167.9 kB / 1.491 GB, free: 7.445 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6035, allocations: 0.6918 MB / 1.492 GB, free: 6.715 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.6037, allocations: 104.4 kB / 1.492 GB, free: 6.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.6038, allocations: 55.95 kB / 1.492 GB, free: 6.547 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.6051, allocations: 0.5809 MB / 1.493 GB, free: 5.953 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.6051, allocations: 0 / 1.493 GB, free: 5.953 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.6051, allocations: 23.94 kB / 1.493 GB, free: 5.93 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.6051, allocations: 12 kB / 1.493 GB, free: 5.918 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.6061, allocations: 451.6 kB / 1.493 GB, free: 5.477 MB / 1.186 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.003747/0.6099, allocations: 1.966 MB / 1.495 GB, free: 3.465 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.611, allocations: 469 kB / 1.496 GB, free: 3 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.6117, allocations: 301.3 kB / 1.496 GB, free: 2.703 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.6117, allocations: 8.375 kB / 1.496 GB, free: 2.695 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006757/0.6124, allocations: 333.2 kB / 1.496 GB, free: 2.355 MB / 1.186 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/0.6124, allocations: 0 / 1.496 GB, free: 2.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=52): time 0.003318/0.6157, allocations: 1.214 MB / 1.497 GB, free: 1.125 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.6158, allocations: 59.84 kB / 1.497 GB, free: 1.055 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.6185, allocations: 2.136 MB / 1.499 GB, free: 14.9 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.6186, allocations: 41.69 kB / 1.5 GB, free: 14.86 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.6192, allocations: 0.6248 MB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.6194, allocations: 170.6 kB / 1.5 GB, free: 14.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.6196, allocations: 106.3 kB / 1.5 GB, free: 13.95 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6197, allocations: 333.9 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.6203, allocations: 237.2 kB / 1.501 GB, free: 13.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.621, allocations: 353.8 kB / 1.501 GB, free: 13 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6221, allocations: 0.5611 MB / 1.502 GB, free: 12.4 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6221, allocations: 0 / 1.502 GB, free: 12.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00195/0.6241, allocations: 0.9123 MB / 1.503 GB, free: 11.48 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.6241, allocations: 8.25 kB / 1.503 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6241, allocations: 8 kB / 1.503 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.6247, allocations: 194.4 kB / 1.503 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.6251, allocations: 103.8 kB / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.6292, allocations: 2.887 MB / 1.506 GB, free: 8.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.6297, allocations: 87.52 kB / 1.506 GB, free: 8.094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.6298, allocations: 20 kB / 1.506 GB, free: 8.074 MB / 1.201 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * 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.0006252/0.6304, allocations: 436.2 kB / 1.506 GB, free: 7.641 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.6306, allocations: 147.1 kB / 1.506 GB, free: 7.496 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6324, allocations: 0.8606 MB / 1.507 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6324, allocations: 11.94 kB / 1.507 GB, free: 6.605 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6325, allocations: 4 kB / 1.507 GB, free: 6.602 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6325, allocations: 0 / 1.507 GB, free: 6.602 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.6359, allocations: 1.616 MB / 1.509 GB, free: 4.941 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6359, allocations: 0 / 1.509 GB, free: 4.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.6362, allocations: 59.89 kB / 1.509 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/0.6367, allocations: 201.5 kB / 1.509 GB, free: 4.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.6368, allocations: 15.98 kB / 1.509 GB, free: 4.664 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.6417, allocations: 4.293 MB / 1.513 GB, free: 180 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6417, allocations: 3.938 kB / 1.513 GB, free: 176 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.644, allocations: 1.208 MB / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.6444, allocations: 166.9 kB / 1.515 GB, free: 14.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.6445, allocations: 23.92 kB / 1.515 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.6449, allocations: 31.97 kB / 1.515 GB, free: 14.72 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6451, allocations: 60.39 kB / 1.515 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.6451, allocations: 23.98 kB / 1.515 GB, free: 14.64 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001939/0.6471, allocations: 1.556 MB / 1.516 GB, free: 13.08 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6471, allocations: 0 / 1.516 GB, free: 13.08 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000871/0.6479, allocations: 231.7 kB / 1.517 GB, free: 12.86 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (37): * Single equations (assignments): 27 * 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.002015/0.65, allocations: 0.5154 MB / 1.517 GB, free: 12.55 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.6517, allocations: 0.7518 MB / 1.518 GB, free: 11.78 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6518, allocations: 128 / 1.518 GB, free: 11.78 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6529, allocations: 0.5819 MB / 1.518 GB, free: 11.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.6541, allocations: 223.1 kB / 1.519 GB, free: 10.97 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.659, allocations: 2.873 MB / 1.521 GB, free: 8.062 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.66, allocations: 0.6593 MB / 1.522 GB, free: 7.371 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.6604, allocations: 101 kB / 1.522 GB, free: 7.27 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6605, allocations: 55.42 kB / 1.522 GB, free: 7.215 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.6605, allocations: 0 / 1.522 GB, free: 7.215 MB / 1.217 GB Notification: Performance of Templates: time 0.02695/0.6875, allocations: 13.37 MB / 1.535 GB, free: 10.06 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.5258066970855]