Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.00163/0.00163, allocations: 112.4 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.001845/0.001845, 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.423/1.423, 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.684/2.684, allocations: 437.1 MB / 0.7177 GB, free: 4.484 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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 63.91 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3037, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.8129/1.117, allocations: 156.7 MB / 1.329 GB, free: 10.9 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03097/1.148, allocations: 21.75 MB / 1.35 GB, free: 11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/1.15, allocations: 59.59 kB / 1.35 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/1.152, allocations: 1.156 MB / 1.351 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/1.154, allocations: 0.8562 MB / 1.352 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/1.155, allocations: 449 kB / 1.353 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001611/1.157, allocations: 1.259 MB / 1.354 GB, free: 9.723 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/1.158, allocations: 0.6746 MB / 1.354 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/1.159, allocations: 0.5519 MB / 1.355 GB, free: 9.273 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/1.16, allocations: 0.9159 MB / 1.356 GB, free: 9.051 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/1.16, allocations: 65.53 kB / 1.356 GB, free: 9.051 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/1.16, allocations: 105.1 kB / 1.356 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/1.16, allocations: 316.5 kB / 1.356 GB, free: 8.902 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/1.161, allocations: 495.1 kB / 1.357 GB, free: 8.566 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/1.162, allocations: 1.212 MB / 1.358 GB, free: 8.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.162, allocations: 1.125 kB / 1.358 GB, free: 8.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/1.162, allocations: 0 / 1.358 GB, free: 8.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.162, allocations: 0 / 1.358 GB, free: 8.07 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002641/1.165, allocations: 1.53 MB / 1.36 GB, free: 7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.165, allocations: 8.844 kB / 1.36 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/1.165, allocations: 143.6 kB / 1.36 GB, free: 6.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/1.166, allocations: 0.6822 MB / 1.36 GB, free: 6.418 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.166, allocations: 74.44 kB / 1.36 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/1.166, allocations: 42.53 kB / 1.36 GB, free: 6.359 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/1.167, allocations: 0.5177 MB / 1.361 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.167, allocations: 1.156 kB / 1.361 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/1.167, allocations: 22.83 kB / 1.361 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.167, allocations: 10.69 kB / 1.361 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/1.168, allocations: 409.4 kB / 1.361 GB, free: 5.992 MB / 1.029 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.004054/1.172, allocations: 2.804 MB / 1.364 GB, free: 3.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.173, allocations: 451.5 kB / 1.365 GB, free: 3.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/1.174, allocations: 291.8 kB / 1.365 GB, free: 3.684 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/1.174, allocations: 4.891 kB / 1.365 GB, free: 3.684 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/1.175, allocations: 299.2 kB / 1.365 GB, free: 3.559 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/1.175, allocations: 0 / 1.365 GB, free: 3.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.00314/1.178, allocations: 1.242 MB / 1.366 GB, free: 2.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/1.178, allocations: 56.47 kB / 1.366 GB, free: 2.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.18, allocations: 1.753 MB / 1.368 GB, free: 2.152 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/1.18, allocations: 36.45 kB / 1.368 GB, free: 2.113 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/1.181, allocations: 0.5248 MB / 1.369 GB, free: 1.656 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/1.181, allocations: 154.3 kB / 1.369 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/1.181, allocations: 94.28 kB / 1.369 GB, free: 1.465 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.181, allocations: 328 kB / 1.369 GB, free: 1.145 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/1.182, allocations: 217.5 kB / 1.369 GB, free: 1.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/1.182, allocations: 327.9 kB / 1.37 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/1.183, allocations: 0.5135 MB / 1.37 GB, free: 496 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.183, allocations: 1.938 kB / 1.37 GB, free: 496 kB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001776/1.185, allocations: 0.8493 MB / 1.371 GB, free: 36 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.185, allocations: 4.719 kB / 1.371 GB, free: 36 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.185, allocations: 3.812 kB / 1.371 GB, free: 36 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/1.186, allocations: 189.5 kB / 1.371 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/1.186, allocations: 95.53 kB / 1.371 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/1.19, allocations: 3.001 MB / 1.374 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/1.19, allocations: 75.06 kB / 1.374 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/1.191, allocations: 27.69 kB / 1.374 GB, free: 13.41 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006961/1.191, allocations: 386.9 kB / 1.375 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.191, allocations: 124 kB / 1.375 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/1.192, allocations: 139.9 kB / 1.375 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.192, allocations: 8.75 kB / 1.375 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.192, allocations: 2.719 kB / 1.375 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.192, allocations: 5.672 kB / 1.375 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/1.194, allocations: 1.568 MB / 1.377 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.194, allocations: 0 / 1.377 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/1.195, allocations: 49.02 kB / 1.377 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004696/1.195, allocations: 195 kB / 1.377 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/1.195, allocations: 17.36 kB / 1.377 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004808/1.2, allocations: 4.551 MB / 1.381 GB, free: 7.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.2, allocations: 4.062 kB / 1.381 GB, free: 7.766 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.202, allocations: 1.067 MB / 1.382 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/1.202, allocations: 230.9 kB / 1.382 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/1.202, allocations: 14.75 kB / 1.382 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/1.203, allocations: 26.47 kB / 1.383 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.203, allocations: 54.98 kB / 1.383 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/1.203, allocations: 18.08 kB / 1.383 GB, free: 6.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001573/1.205, allocations: 1.278 MB / 1.384 GB, free: 6.277 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.3e-07/1.205, allocations: 0 / 1.384 GB, free: 6.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008471/1.205, allocations: 199.1 kB / 1.384 GB, free: 6.242 MB / 1.045 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,13,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.001751/1.207, allocations: 485 kB / 1.384 GB, free: 6.027 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.209, allocations: 0.7216 MB / 1.385 GB, free: 5.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.209, allocations: 6.562 kB / 1.385 GB, free: 5.605 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009119/1.21, allocations: 0.5419 MB / 1.386 GB, free: 5.207 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.211, allocations: 202 kB / 1.386 GB, free: 5.098 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/1.215, allocations: 2.481 MB / 1.388 GB, free: 3.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/1.216, allocations: 1.136 MB / 1.389 GB, free: 2.848 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.216, allocations: 50.7 kB / 1.39 GB, free: 2.832 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/1.216, allocations: 0 / 1.39 GB, free: 2.832 MB / 1.045 GB Notification: Performance of Templates: time 0.02554/1.241, allocations: 17.89 MB / 1.407 GB, free: 6.328 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.229252779041417]