Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001506/0.001506, allocations: 112.8 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.001626/0.001626, allocations: 193.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.433/1.433, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] 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.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.32, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.7784/1.098, allocations: 157.3 MB / 1.329 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03016/1.129, allocations: 22 MB / 1.351 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/1.131, allocations: 60.03 kB / 1.351 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/1.134, allocations: 2.148 MB / 1.353 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/1.137, allocations: 1.422 MB / 1.354 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/1.139, allocations: 0.5841 MB / 1.355 GB, free: 9.516 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003278/1.142, allocations: 1.829 MB / 1.357 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/1.144, allocations: 1.082 MB / 1.358 GB, free: 8.398 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/1.147, allocations: 0.8824 MB / 1.359 GB, free: 8.125 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/1.149, allocations: 1.533 MB / 1.36 GB, free: 7.809 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/1.149, allocations: 91.75 kB / 1.36 GB, free: 7.809 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/1.15, allocations: 137.5 kB / 1.36 GB, free: 7.793 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005364/1.15, allocations: 0.5236 MB / 1.361 GB, free: 7.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008275/1.151, allocations: 0.7694 MB / 1.362 GB, free: 7.016 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/1.154, allocations: 1.863 MB / 1.364 GB, free: 6.062 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.154, allocations: 5.094 kB / 1.364 GB, free: 6.059 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/1.154, allocations: 0 / 1.364 GB, free: 6.059 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.765e-05/1.154, allocations: 0 / 1.364 GB, free: 6.059 MB / 1.029 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.004256/1.158, allocations: 2.364 MB / 1.366 GB, free: 4.238 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.158, allocations: 8.719 kB / 1.366 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/1.159, allocations: 242.8 kB / 1.366 GB, free: 4.105 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/1.16, allocations: 1.039 MB / 1.367 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/1.16, allocations: 85.5 kB / 1.367 GB, free: 3.211 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.16, allocations: 62.91 kB / 1.367 GB, free: 3.191 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/1.162, allocations: 0.7277 MB / 1.368 GB, free: 2.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/1.162, allocations: 3.953 kB / 1.368 GB, free: 2.754 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/1.162, allocations: 29.67 kB / 1.368 GB, free: 2.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/1.162, allocations: 15.22 kB / 1.368 GB, free: 2.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/1.163, allocations: 0.5949 MB / 1.369 GB, free: 2.441 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005702/1.169, allocations: 3.509 MB / 1.372 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.171, allocations: 0.7071 MB / 1.373 GB, free: 15.22 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/1.172, allocations: 416.1 kB / 1.373 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/1.172, allocations: 11.62 kB / 1.373 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/1.173, allocations: 431.9 kB / 1.373 GB, free: 14.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 4.098e-06/1.173, allocations: 0 / 1.373 GB, free: 14.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.004729/1.177, allocations: 1.817 MB / 1.375 GB, free: 13.72 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/1.178, allocations: 59.78 kB / 1.375 GB, free: 13.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/1.182, allocations: 3.306 MB / 1.379 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.182, allocations: 42.98 kB / 1.379 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008912/1.183, allocations: 0.8872 MB / 1.379 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/1.183, allocations: 244.8 kB / 1.38 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/1.183, allocations: 125.5 kB / 1.38 GB, free: 11.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.184, allocations: 345.4 kB / 1.38 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/1.184, allocations: 304.6 kB / 1.38 GB, free: 10.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/1.185, allocations: 442.1 kB / 1.381 GB, free: 10.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.186, allocations: 0.7068 MB / 1.382 GB, free: 9.926 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.186, allocations: 0 / 1.382 GB, free: 9.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002561/1.189, allocations: 1.228 MB / 1.383 GB, free: 9.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.189, allocations: 13.88 kB / 1.383 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.189, allocations: 6.688 kB / 1.383 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/1.19, allocations: 252.3 kB / 1.383 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/1.19, allocations: 135.8 kB / 1.383 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/1.196, allocations: 4.761 MB / 1.388 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.198, allocations: 92.47 kB / 1.388 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/1.198, allocations: 28.31 kB / 1.388 GB, free: 4.941 MB / 1.045 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.001207/1.199, allocations: 0.609 MB / 1.388 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/1.199, allocations: 215.4 kB / 1.389 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/1.2, allocations: 246.6 kB / 1.389 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.2, allocations: 11.33 kB / 1.389 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.602e-05/1.2, allocations: 6.75 kB / 1.389 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.2, allocations: 2.312 kB / 1.389 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/1.204, allocations: 2.338 MB / 1.391 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.204, allocations: 6.844 kB / 1.391 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/1.204, allocations: 64.02 kB / 1.391 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006227/1.205, allocations: 258.6 kB / 1.392 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/1.205, allocations: 19.7 kB / 1.392 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/1.21, allocations: 4.754 MB / 1.396 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.21, allocations: 0 / 1.396 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/1.213, allocations: 1.586 MB / 1.398 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005287/1.213, allocations: 329.8 kB / 1.398 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.214, allocations: 24.58 kB / 1.398 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/1.214, allocations: 37.84 kB / 1.398 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.214, allocations: 73.23 kB / 1.398 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/1.214, allocations: 28.95 kB / 1.398 GB, free: 13.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003014/1.217, allocations: 2.422 MB / 1.401 GB, free: 12.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.094e-06/1.217, allocations: 0 / 1.401 GB, free: 12.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001141/1.218, allocations: 292.5 kB / 1.401 GB, free: 12.21 MB / 1.061 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.001841/1.22, allocations: 0.4943 MB / 1.401 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.223, allocations: 1.057 MB / 1.402 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.223, allocations: 0 / 1.402 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.224, allocations: 0.6911 MB / 1.403 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.225, allocations: 284.5 kB / 1.403 GB, free: 9.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/1.232, allocations: 4.131 MB / 1.407 GB, free: 5.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.233, allocations: 1.509 MB / 1.409 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.233, allocations: 71.42 kB / 1.409 GB, free: 4.051 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/1.233, allocations: 0 / 1.409 GB, free: 4.051 MB / 1.061 GB Notification: Performance of Templates: time 0.04626/1.28, allocations: 31.57 MB / 1.44 GB, free: 4.512 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.015093364054337]