Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001278/0.001278, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001338/0.001338, allocations: 202.4 kB / 22.18 MB, free: 5.207 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.413/1.413, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.91 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6873, allocations: 168.7 MB / 1.274 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.182/0.8693, allocations: 157.5 MB / 1.428 GB, free: 6.293 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.8965, allocations: 21.86 MB / 1.449 GB, free: 376 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.898, allocations: 55.75 kB / 1.449 GB, free: 320 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.8997, allocations: 1.161 MB / 1.45 GB, free: 15.15 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.9011, allocations: 0.8641 MB / 1.451 GB, free: 14.28 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.9022, allocations: 473.7 kB / 1.452 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.9035, allocations: 1.263 MB / 1.453 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007006/0.9042, allocations: 0.5373 MB / 1.453 GB, free: 12.01 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/0.9049, allocations: 0.5724 MB / 1.454 GB, free: 11.44 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.9061, allocations: 0.9918 MB / 1.455 GB, free: 10.44 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.9062, allocations: 68 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.9064, allocations: 107.9 kB / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.9067, allocations: 320.6 kB / 1.455 GB, free: 9.957 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.9072, allocations: 484.9 kB / 1.456 GB, free: 9.48 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.9085, allocations: 1.213 MB / 1.457 GB, free: 8.262 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9085, allocations: 0 / 1.457 GB, free: 8.262 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9085, allocations: 0 / 1.457 GB, free: 8.262 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.9085, allocations: 4 kB / 1.457 GB, free: 8.258 MB / 1.154 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.00254/0.911, allocations: 1.564 MB / 1.459 GB, free: 6.637 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.9111, allocations: 8.031 kB / 1.459 GB, free: 6.629 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.9113, allocations: 140 kB / 1.459 GB, free: 6.492 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.9123, allocations: 0.6756 MB / 1.459 GB, free: 5.766 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.9124, allocations: 70.69 kB / 1.46 GB, free: 5.691 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.9125, allocations: 51.94 kB / 1.46 GB, free: 5.641 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009909/0.9135, allocations: 0.5145 MB / 1.46 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.9135, allocations: 3.938 kB / 1.46 GB, free: 5.105 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.9136, allocations: 24 kB / 1.46 GB, free: 5.082 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.9136, allocations: 12 kB / 1.46 GB, free: 5.07 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.9145, allocations: 407.7 kB / 1.46 GB, free: 4.676 MB / 1.154 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.003935/0.9184, allocations: 2.792 MB / 1.463 GB, free: 1.633 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.9195, allocations: 435.3 kB / 1.464 GB, free: 1.199 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/0.9201, allocations: 265.3 kB / 1.464 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.9201, allocations: 4.328 kB / 1.464 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005898/0.9207, allocations: 306.6 kB / 1.464 GB, free: 0.625 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.9207, allocations: 4 kB / 1.464 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.003152/0.9238, allocations: 1.249 MB / 1.465 GB, free: 15.32 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.9239, allocations: 55.41 kB / 1.465 GB, free: 15.25 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.9258, allocations: 1.748 MB / 1.467 GB, free: 13.5 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.9259, allocations: 37.7 kB / 1.467 GB, free: 13.45 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.9264, allocations: 0.5259 MB / 1.468 GB, free: 12.92 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.9265, allocations: 158.7 kB / 1.468 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.9267, allocations: 102.2 kB / 1.468 GB, free: 12.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9268, allocations: 330 kB / 1.468 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.9274, allocations: 213 kB / 1.468 GB, free: 12.12 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.928, allocations: 324.9 kB / 1.469 GB, free: 11.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009888/0.9289, allocations: 0.5083 MB / 1.469 GB, free: 11.22 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.929, allocations: 4 kB / 1.469 GB, free: 11.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001747/0.9307, allocations: 0.8492 MB / 1.47 GB, free: 10.36 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9307, allocations: 8 kB / 1.47 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.9307, allocations: 7.938 kB / 1.47 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.9313, allocations: 190.6 kB / 1.47 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.9316, allocations: 87.88 kB / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.9355, allocations: 3.007 MB / 1.473 GB, free: 6.934 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.9359, allocations: 71.59 kB / 1.473 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.9359, allocations: 24.42 kB / 1.473 GB, free: 6.84 MB / 1.17 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * 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.000497/0.9364, allocations: 387.4 kB / 1.474 GB, free: 6.449 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9366, allocations: 127.1 kB / 1.474 GB, free: 6.324 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.9382, allocations: 0.7576 MB / 1.475 GB, free: 5.551 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.9382, allocations: 11.92 kB / 1.475 GB, free: 5.539 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9382, allocations: 4 kB / 1.475 GB, free: 5.535 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9382, allocations: 0 / 1.475 GB, free: 5.535 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.941, allocations: 1.57 MB / 1.476 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.941, allocations: 0 / 1.476 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.9412, allocations: 47.91 kB / 1.476 GB, free: 3.855 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.9417, allocations: 193.6 kB / 1.476 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.9418, allocations: 12 kB / 1.476 GB, free: 3.648 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/0.9465, allocations: 4.334 MB / 1.481 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9465, allocations: 0 / 1.481 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.9484, allocations: 1.071 MB / 1.482 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.9487, allocations: 224.2 kB / 1.482 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/0.9488, allocations: 15.98 kB / 1.482 GB, free: 13.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.9491, allocations: 31.97 kB / 1.482 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.9492, allocations: 47.92 kB / 1.482 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.9493, allocations: 16 kB / 1.482 GB, free: 13.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001446/0.9507, allocations: 1.281 MB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.9507, allocations: 8 kB / 1.483 GB, free: 12.31 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007121/0.9514, allocations: 203.7 kB / 1.483 GB, free: 12.11 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (29): * Single equations (assignments): 21 * 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.001826/0.9533, allocations: 0.4897 MB / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.9548, allocations: 0.6939 MB / 1.485 GB, free: 11.1 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9548, allocations: 0 / 1.485 GB, free: 11.1 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008976/0.9557, allocations: 0.5287 MB / 1.485 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009804/0.9567, allocations: 199.1 kB / 1.485 GB, free: 10.36 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.9604, allocations: 2.411 MB / 1.488 GB, free: 7.914 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.9613, allocations: 1.153 MB / 1.489 GB, free: 6.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002453/0.9615, allocations: 92.8 kB / 1.489 GB, free: 6.637 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.9616, allocations: 47.42 kB / 1.489 GB, free: 6.59 MB / 1.186 GB Notification: Performance of SimCode: time 6.91e-07/0.9616, allocations: 0 / 1.489 GB, free: 6.59 MB / 1.186 GB Notification: Performance of Templates: time 0.02052/0.9822, allocations: 10.86 MB / 1.5 GB, free: 11.86 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.39140442898497]