Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.001627/0.001628, allocations: 110.7 kB / 17.08 MB, free: 5.984 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.001872/0.001872, allocations: 195.6 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.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.242 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.919/2.919, allocations: 489.2 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] 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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9902/0.9922, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1933/1.185, allocations: 157.3 MB / 1.416 GB, free: 3.637 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02937/1.215, allocations: 22.03 MB / 1.438 GB, free: 1.594 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/1.218, allocations: 56.22 kB / 1.438 GB, free: 1.574 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/1.221, allocations: 2.15 MB / 1.44 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002639/1.223, allocations: 1.419 MB / 1.441 GB, free: 15.69 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/1.225, allocations: 0.5761 MB / 1.442 GB, free: 15.24 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002275/1.227, allocations: 1.83 MB / 1.444 GB, free: 14.24 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/1.229, allocations: 1.089 MB / 1.445 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/1.23, allocations: 0.8807 MB / 1.446 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/1.232, allocations: 1.545 MB / 1.447 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/1.232, allocations: 92 kB / 1.447 GB, free: 11.15 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/1.232, allocations: 144 kB / 1.447 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/1.233, allocations: 0.5199 MB / 1.448 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006936/1.233, allocations: 0.7563 MB / 1.448 GB, free: 9.723 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/1.236, allocations: 1.871 MB / 1.45 GB, free: 7.844 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.236, allocations: 0 / 1.45 GB, free: 7.844 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.194e-06/1.236, allocations: 0 / 1.45 GB, free: 7.844 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.579e-05/1.236, allocations: 0 / 1.45 GB, free: 7.844 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003879/1.239, allocations: 2.36 MB / 1.453 GB, free: 5.418 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.24, allocations: 8.031 kB / 1.453 GB, free: 5.41 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/1.24, allocations: 243.4 kB / 1.453 GB, free: 5.172 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/1.241, allocations: 1.036 MB / 1.454 GB, free: 4.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/1.241, allocations: 83 kB / 1.454 GB, free: 3.984 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.242, allocations: 64 kB / 1.454 GB, free: 3.922 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.243, allocations: 0.7329 MB / 1.455 GB, free: 3.176 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/1.243, allocations: 7.984 kB / 1.455 GB, free: 3.168 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/1.243, allocations: 20 kB / 1.455 GB, free: 3.148 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/1.243, allocations: 19.98 kB / 1.455 GB, free: 3.129 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/1.244, allocations: 0.5868 MB / 1.455 GB, free: 2.543 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/1.25, allocations: 3.51 MB / 1.459 GB, free: 14.77 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.252, allocations: 0.7091 MB / 1.459 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/1.252, allocations: 414.3 kB / 1.46 GB, free: 13.65 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/1.253, allocations: 8.562 kB / 1.46 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008288/1.253, allocations: 438.8 kB / 1.46 GB, free: 13.2 MB / 1.154 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/1.253, allocations: 3.938 kB / 1.46 GB, free: 13.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=70): time 0.004473/1.258, allocations: 1.809 MB / 1.462 GB, free: 11.34 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.258, allocations: 59.97 kB / 1.462 GB, free: 11.27 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/1.262, allocations: 3.308 MB / 1.465 GB, free: 7.93 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.262, allocations: 41.7 kB / 1.465 GB, free: 7.883 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008257/1.263, allocations: 0.8903 MB / 1.466 GB, free: 6.988 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.263, allocations: 242.1 kB / 1.466 GB, free: 6.75 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.263, allocations: 122.7 kB / 1.467 GB, free: 6.625 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.263, allocations: 337.9 kB / 1.467 GB, free: 6.289 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/1.264, allocations: 309.8 kB / 1.467 GB, free: 5.984 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/1.265, allocations: 434.3 kB / 1.468 GB, free: 5.52 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.266, allocations: 0.7171 MB / 1.468 GB, free: 4.754 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.266, allocations: 3.938 kB / 1.468 GB, free: 4.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002427/1.268, allocations: 1.219 MB / 1.47 GB, free: 3.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.269, allocations: 11.94 kB / 1.47 GB, free: 3.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.269, allocations: 4 kB / 1.47 GB, free: 3.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/1.269, allocations: 264.1 kB / 1.47 GB, free: 3.242 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/1.27, allocations: 135.8 kB / 1.47 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/1.275, allocations: 4.747 MB / 1.475 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/1.276, allocations: 95.47 kB / 1.475 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/1.276, allocations: 31.94 kB / 1.475 GB, free: 13.96 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000869/1.277, allocations: 0.6108 MB / 1.475 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/1.277, allocations: 214.5 kB / 1.475 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/1.277, allocations: 252.5 kB / 1.476 GB, free: 12.88 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.277, allocations: 4 kB / 1.476 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.277, allocations: 4 kB / 1.476 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.277, allocations: 4 kB / 1.476 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/1.281, allocations: 2.343 MB / 1.478 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.281, allocations: 0 / 1.478 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/1.281, allocations: 63.89 kB / 1.478 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006347/1.282, allocations: 255.6 kB / 1.478 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/1.282, allocations: 19.92 kB / 1.478 GB, free: 10.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/1.287, allocations: 4.776 MB / 1.483 GB, free: 5.07 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.287, allocations: 0 / 1.483 GB, free: 5.07 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.29, allocations: 1.589 MB / 1.485 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/1.291, allocations: 319.5 kB / 1.485 GB, free: 3.125 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.291, allocations: 27.92 kB / 1.485 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/1.291, allocations: 31.97 kB / 1.485 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.291, allocations: 72.45 kB / 1.485 GB, free: 2.996 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/1.292, allocations: 27.98 kB / 1.485 GB, free: 2.969 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002754/1.294, allocations: 2.423 MB / 1.487 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/1.294, allocations: 4 kB / 1.487 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009732/1.295, allocations: 287.5 kB / 1.488 GB, free: 252 kB / 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001824/1.297, allocations: 0.4917 MB / 1.488 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002239/1.299, allocations: 1.059 MB / 1.489 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.299, allocations: 3.938 kB / 1.489 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.301, allocations: 0.6826 MB / 1.49 GB, free: 14.14 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.302, allocations: 278.8 kB / 1.49 GB, free: 13.88 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/1.309, allocations: 4.136 MB / 1.494 GB, free: 9.703 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.31, allocations: 1.516 MB / 1.496 GB, free: 8.148 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.31, allocations: 67.42 kB / 1.496 GB, free: 8.082 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/1.31, allocations: 4 kB / 1.496 GB, free: 8.078 MB / 1.186 GB Notification: Performance of Templates: time 0.04515/1.356, allocations: 31.55 MB / 1.527 GB, free: 8.547 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.879296213854104]