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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 109.5 kB / 17.08 MB, free: 6.012 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.001552/0.001552, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.372/1.372, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.812/2.812, allocations: 489.3 MB / 0.7687 GB, free: 3.723 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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8589, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1876/1.047, allocations: 156.8 MB / 1.416 GB, free: 4.012 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02691/1.074, allocations: 21.77 MB / 1.437 GB, free: 2.176 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/1.075, allocations: 50.47 kB / 1.437 GB, free: 2.16 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/1.077, allocations: 1.164 MB / 1.438 GB, free: 1.547 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/1.078, allocations: 0.8583 MB / 1.439 GB, free: 1.016 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/1.079, allocations: 446.1 kB / 1.439 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001303/1.08, allocations: 1.257 MB / 1.441 GB, free: 15.96 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/1.081, allocations: 0.6868 MB / 1.441 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/1.082, allocations: 0.5557 MB / 1.442 GB, free: 15.22 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/1.083, allocations: 0.9126 MB / 1.443 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/1.083, allocations: 64.94 kB / 1.443 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/1.084, allocations: 116.4 kB / 1.443 GB, free: 14.78 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/1.084, allocations: 311.9 kB / 1.443 GB, free: 14.59 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004504/1.084, allocations: 491.4 kB / 1.444 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/1.086, allocations: 1.211 MB / 1.445 GB, free: 13.39 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.086, allocations: 1 kB / 1.445 GB, free: 13.39 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.342e-06/1.086, allocations: 0 / 1.445 GB, free: 13.39 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.086, allocations: 0 / 1.445 GB, free: 13.39 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002359/1.088, allocations: 1.517 MB / 1.446 GB, free: 11.88 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.088, allocations: 19.95 kB / 1.446 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/1.088, allocations: 140 kB / 1.446 GB, free: 11.72 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/1.089, allocations: 0.6718 MB / 1.447 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/1.089, allocations: 66.69 kB / 1.447 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/1.089, allocations: 51.95 kB / 1.447 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/1.09, allocations: 0.5261 MB / 1.448 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/1.091, allocations: 0 / 1.448 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/1.091, allocations: 19.98 kB / 1.448 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/1.091, allocations: 12 kB / 1.448 GB, free: 10.3 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/1.091, allocations: 415.7 kB / 1.448 GB, free: 9.902 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.003688/1.095, allocations: 2.712 MB / 1.451 GB, free: 6.953 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.096, allocations: 443.7 kB / 1.451 GB, free: 6.508 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/1.097, allocations: 309.2 kB / 1.452 GB, free: 6.207 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/1.097, allocations: 8.266 kB / 1.452 GB, free: 6.199 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005778/1.098, allocations: 295.7 kB / 1.452 GB, free: 5.898 MB / 1.139 GB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/1.098, allocations: 0 / 1.452 GB, free: 5.898 MB / 1.139 GB Notification: Performance of matching and sorting (n=44): time 0.002817/1.1, allocations: 1.157 MB / 1.453 GB, free: 4.691 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.1, allocations: 59.41 kB / 1.453 GB, free: 4.621 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/1.102, allocations: 1.76 MB / 1.455 GB, free: 2.852 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/1.103, allocations: 41.69 kB / 1.455 GB, free: 2.805 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/1.103, allocations: 0.5254 MB / 1.455 GB, free: 2.273 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/1.103, allocations: 150.7 kB / 1.455 GB, free: 2.125 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.103, allocations: 102.2 kB / 1.456 GB, free: 2.02 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.104, allocations: 326 kB / 1.456 GB, free: 1.695 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/1.104, allocations: 213 kB / 1.456 GB, free: 1.484 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/1.105, allocations: 335.2 kB / 1.456 GB, free: 1.113 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/1.106, allocations: 0.5152 MB / 1.457 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.106, allocations: 7.938 kB / 1.457 GB, free: 0.543 MB / 1.139 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001667/1.107, allocations: 0.8178 MB / 1.458 GB, free: 15.71 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.107, allocations: 4 kB / 1.458 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.107, allocations: 4.219 kB / 1.458 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/1.108, allocations: 136.8 kB / 1.458 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/1.108, allocations: 99.81 kB / 1.458 GB, free: 15.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/1.111, allocations: 2.617 MB / 1.46 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/1.112, allocations: 71.62 kB / 1.461 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/1.112, allocations: 24.06 kB / 1.461 GB, free: 12.63 MB / 1.154 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.0005318/1.112, allocations: 383.3 kB / 1.461 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/1.113, allocations: 127.1 kB / 1.461 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/1.113, allocations: 139.7 kB / 1.461 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.113, allocations: 4 kB / 1.461 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/1.113, allocations: 7.984 kB / 1.461 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.113, allocations: 3.984 kB / 1.461 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/1.115, allocations: 1.493 MB / 1.463 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.115, allocations: 0 / 1.463 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/1.115, allocations: 43.91 kB / 1.463 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/1.116, allocations: 165.5 kB / 1.463 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/1.116, allocations: 15.98 kB / 1.463 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/1.12, allocations: 4.025 MB / 1.467 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.12, allocations: 0 / 1.467 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/1.122, allocations: 1.001 MB / 1.468 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/1.122, allocations: 220.2 kB / 1.468 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/1.122, allocations: 11.98 kB / 1.468 GB, free: 4.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/1.123, allocations: 31.97 kB / 1.468 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.123, allocations: 51.88 kB / 1.468 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/1.123, allocations: 23.92 kB / 1.468 GB, free: 4.508 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00152/1.124, allocations: 1.285 MB / 1.469 GB, free: 3.219 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.124, allocations: 0 / 1.469 GB, free: 3.219 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006982/1.125, allocations: 199.8 kB / 1.47 GB, free: 3.023 MB / 1.154 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.00173/1.127, allocations: 475.5 kB / 1.47 GB, free: 2.746 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001426/1.128, allocations: 0.6646 MB / 1.471 GB, free: 2.07 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.128, allocations: 0 / 1.471 GB, free: 2.07 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008657/1.129, allocations: 0.5287 MB / 1.471 GB, free: 1.516 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/1.13, allocations: 197.2 kB / 1.471 GB, free: 1.332 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/1.134, allocations: 2.45 MB / 1.474 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/1.135, allocations: 1.149 MB / 1.475 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/1.135, allocations: 51.42 kB / 1.475 GB, free: 13.62 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/1.135, allocations: 0 / 1.475 GB, free: 13.62 MB / 1.17 GB Notification: Performance of Templates: time 0.02485/1.16, allocations: 17.88 MB / 1.492 GB, free: 11.76 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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: 13.71122788102366]