Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.001665/0.001665, allocations: 115.5 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.001925/0.001925, allocations: 194.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.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.585/2.585, allocations: 437.1 MB / 0.7177 GB, free: 4.527 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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.84 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2906, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.7974/1.088, allocations: 157.5 MB / 1.33 GB, free: 10.35 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03099/1.119, allocations: 22.07 MB / 1.351 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/1.122, allocations: 61.31 kB / 1.351 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003227/1.125, allocations: 2.164 MB / 1.353 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/1.129, allocations: 1.455 MB / 1.355 GB, free: 9.527 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/1.131, allocations: 0.6134 MB / 1.355 GB, free: 9.191 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003359/1.134, allocations: 1.932 MB / 1.357 GB, free: 8.449 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/1.136, allocations: 1.12 MB / 1.358 GB, free: 8.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/1.139, allocations: 0.9149 MB / 1.359 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/1.141, allocations: 1.59 MB / 1.361 GB, free: 7.395 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005214/1.142, allocations: 96.53 kB / 1.361 GB, free: 7.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008988/1.143, allocations: 143.1 kB / 1.361 GB, free: 7.379 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006624/1.144, allocations: 0.5558 MB / 1.362 GB, free: 7.137 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1.145, allocations: 0.8045 MB / 1.362 GB, free: 6.562 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/1.147, allocations: 1.949 MB / 1.364 GB, free: 5.438 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.147, allocations: 0 / 1.364 GB, free: 5.438 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/1.147, allocations: 1.188 kB / 1.364 GB, free: 5.438 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.62e-05/1.147, allocations: 0 / 1.364 GB, free: 5.438 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004214/1.152, allocations: 2.432 MB / 1.367 GB, free: 3.578 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.152, allocations: 9.219 kB / 1.367 GB, free: 3.578 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003778/1.152, allocations: 255.1 kB / 1.367 GB, free: 3.438 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/1.153, allocations: 1.059 MB / 1.368 GB, free: 2.586 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/1.154, allocations: 95.27 kB / 1.368 GB, free: 2.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.154, allocations: 75.28 kB / 1.368 GB, free: 2.492 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/1.155, allocations: 0.7831 MB / 1.369 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.155, allocations: 1.312 kB / 1.369 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/1.155, allocations: 25.41 kB / 1.369 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/1.155, allocations: 15.78 kB / 1.369 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.157, allocations: 0.6409 MB / 1.37 GB, free: 1.691 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005787/1.162, allocations: 3.731 MB / 1.373 GB, free: 14.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.164, allocations: 0.7406 MB / 1.374 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/1.165, allocations: 433 kB / 1.374 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/1.165, allocations: 12.8 kB / 1.374 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007971/1.166, allocations: 446.8 kB / 1.375 GB, free: 13.81 MB / 1.045 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/1.166, allocations: 2.656 kB / 1.375 GB, free: 13.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=73): time 0.004377/1.17, allocations: 1.841 MB / 1.377 GB, free: 12.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.17, allocations: 59.41 kB / 1.377 GB, free: 12.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/1.174, allocations: 3.364 MB / 1.38 GB, free: 11.24 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/1.174, allocations: 43.52 kB / 1.38 GB, free: 11.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/1.175, allocations: 0.9304 MB / 1.381 GB, free: 10.4 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/1.175, allocations: 246.1 kB / 1.381 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/1.175, allocations: 137 kB / 1.381 GB, free: 10.11 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.175, allocations: 341.3 kB / 1.382 GB, free: 9.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/1.176, allocations: 319.3 kB / 1.382 GB, free: 9.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/1.177, allocations: 472.5 kB / 1.382 GB, free: 9.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.178, allocations: 0.7463 MB / 1.383 GB, free: 8.859 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.178, allocations: 0 / 1.383 GB, free: 8.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00244/1.181, allocations: 1.267 MB / 1.384 GB, free: 8.191 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.181, allocations: 7.531 kB / 1.384 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/1.181, allocations: 2.281 kB / 1.384 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/1.181, allocations: 266.5 kB / 1.385 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/1.182, allocations: 135 kB / 1.385 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005159/1.187, allocations: 4.755 MB / 1.389 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.188, allocations: 105.6 kB / 1.389 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/1.188, allocations: 28.12 kB / 1.389 GB, free: 3.84 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001078/1.189, allocations: 0.6113 MB / 1.39 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/1.19, allocations: 220.1 kB / 1.39 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/1.19, allocations: 260.1 kB / 1.39 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.19, allocations: 7.625 kB / 1.391 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/1.19, allocations: 8.812 kB / 1.391 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.19, allocations: 7.922 kB / 1.391 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/1.194, allocations: 2.415 MB / 1.393 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.194, allocations: 0 / 1.393 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/1.194, allocations: 72.52 kB / 1.393 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006346/1.195, allocations: 260.4 kB / 1.393 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/1.195, allocations: 19.95 kB / 1.393 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/1.2, allocations: 4.755 MB / 1.398 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.2, allocations: 0 / 1.398 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/1.203, allocations: 1.646 MB / 1.399 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/1.204, allocations: 336.2 kB / 1.4 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.204, allocations: 17.5 kB / 1.4 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.204, allocations: 37.39 kB / 1.4 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/1.205, allocations: 77.14 kB / 1.4 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/1.205, allocations: 25.72 kB / 1.4 GB, free: 12.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002933/1.208, allocations: 2.464 MB / 1.402 GB, free: 10.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/1.208, allocations: 4 kB / 1.402 GB, free: 10.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001054/1.209, allocations: 295.7 kB / 1.403 GB, free: 10.35 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001737/1.21, allocations: 494.7 kB / 1.403 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002247/1.213, allocations: 1.098 MB / 1.404 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.213, allocations: 3.75 kB / 1.404 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/1.214, allocations: 0.7027 MB / 1.405 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.215, allocations: 301.4 kB / 1.405 GB, free: 7.922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/1.222, allocations: 4.21 MB / 1.409 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.223, allocations: 1.552 MB / 1.411 GB, free: 2.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/1.223, allocations: 71.42 kB / 1.411 GB, free: 2.016 MB / 1.061 GB Notification: Performance of SimCode: time 1.011e-06/1.223, allocations: 0 / 1.411 GB, free: 2.016 MB / 1.061 GB Notification: Performance of Templates: time 0.04691/1.27, allocations: 32.73 MB / 1.443 GB, free: 1.32 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.79017135198228]