Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 217.4 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.282/3.282, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 74.64 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4654, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2206/0.686, allocations: 160.5 MB / 1.484 GB, free: 304 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03191/0.7179, allocations: 21.94 MB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.7205, allocations: 71.44 kB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.7225, allocations: 1.177 MB / 1.507 GB, free: 9.047 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.7247, allocations: 0.9107 MB / 1.507 GB, free: 8.133 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.726, allocations: 421.6 kB / 1.508 GB, free: 7.723 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.7281, allocations: 1.282 MB / 1.509 GB, free: 6.434 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009286/0.729, allocations: 0.543 MB / 1.51 GB, free: 5.887 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.7301, allocations: 0.5724 MB / 1.51 GB, free: 5.312 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.7315, allocations: 1.003 MB / 1.511 GB, free: 4.305 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.7316, allocations: 64 kB / 1.511 GB, free: 4.242 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.7319, allocations: 120 kB / 1.511 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.7322, allocations: 320.7 kB / 1.512 GB, free: 3.812 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004965/0.7327, allocations: 492.8 kB / 1.512 GB, free: 3.328 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.7343, allocations: 1.229 MB / 1.513 GB, free: 2.094 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7343, allocations: 0 / 1.513 GB, free: 2.094 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7343, allocations: 0 / 1.513 GB, free: 2.094 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.7344, allocations: 0 / 1.513 GB, free: 2.094 MB / 1.201 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.002646/0.737, allocations: 1.506 MB / 1.515 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.737, allocations: 8.031 kB / 1.515 GB, free: 0.543 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.7373, allocations: 144 kB / 1.515 GB, free: 412 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7383, allocations: 0.6143 MB / 1.516 GB, free: 15.75 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.7385, allocations: 104.3 kB / 1.516 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/0.7385, allocations: 47.98 kB / 1.516 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/0.7395, allocations: 0.5224 MB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.7396, allocations: 3.938 kB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.7396, allocations: 20 kB / 1.516 GB, free: 15.03 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.7396, allocations: 8 kB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.7405, allocations: 415.7 kB / 1.517 GB, free: 14.61 MB / 1.217 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.004064/0.7445, allocations: 2.696 MB / 1.519 GB, free: 11.7 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7455, allocations: 419.7 kB / 1.52 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.7462, allocations: 285.3 kB / 1.52 GB, free: 10.99 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.7462, allocations: 4.328 kB / 1.52 GB, free: 10.99 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005882/0.7468, allocations: 284.6 kB / 1.52 GB, free: 10.7 MB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 4.137e-06/0.7468, allocations: 0 / 1.52 GB, free: 10.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002701/0.7495, allocations: 0.9976 MB / 1.521 GB, free: 9.688 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.7496, allocations: 55.41 kB / 1.521 GB, free: 9.621 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.7518, allocations: 1.785 MB / 1.523 GB, free: 7.828 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.7519, allocations: 41.69 kB / 1.523 GB, free: 7.781 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/0.7524, allocations: 0.5332 MB / 1.524 GB, free: 7.242 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.7525, allocations: 146.8 kB / 1.524 GB, free: 7.098 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.7527, allocations: 98.34 kB / 1.524 GB, free: 6.996 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7529, allocations: 333.9 kB / 1.524 GB, free: 6.664 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.7534, allocations: 213.2 kB / 1.524 GB, free: 6.453 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.754, allocations: 344.1 kB / 1.525 GB, free: 6.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.7549, allocations: 0.5189 MB / 1.525 GB, free: 5.504 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7549, allocations: 0 / 1.525 GB, free: 5.504 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001705/0.7566, allocations: 0.8095 MB / 1.526 GB, free: 4.684 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7566, allocations: 8 kB / 1.526 GB, free: 4.676 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.7567, allocations: 4 kB / 1.526 GB, free: 4.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.7571, allocations: 139.5 kB / 1.526 GB, free: 4.535 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.7575, allocations: 103.9 kB / 1.526 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.7607, allocations: 2.493 MB / 1.529 GB, free: 1.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.7613, allocations: 79.58 kB / 1.529 GB, free: 1.754 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.7613, allocations: 24 kB / 1.529 GB, free: 1.73 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006941/0.762, allocations: 395.2 kB / 1.529 GB, free: 1.332 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.7622, allocations: 131.1 kB / 1.529 GB, free: 1.203 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.7637, allocations: 0.7048 MB / 1.53 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7637, allocations: 8 kB / 1.53 GB, free: 484 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7637, allocations: 0 / 1.53 GB, free: 484 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7637, allocations: 3.984 kB / 1.53 GB, free: 480 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.7663, allocations: 1.477 MB / 1.531 GB, free: 14.94 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7663, allocations: 0 / 1.531 GB, free: 14.94 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.7665, allocations: 47.91 kB / 1.531 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.767, allocations: 165.6 kB / 1.532 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.767, allocations: 11.98 kB / 1.532 GB, free: 14.71 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.7713, allocations: 4.081 MB / 1.536 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7713, allocations: 0 / 1.536 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.7732, allocations: 1.005 MB / 1.536 GB, free: 9.387 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.7736, allocations: 143.1 kB / 1.537 GB, free: 9.246 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.7737, allocations: 23.92 kB / 1.537 GB, free: 9.223 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.774, allocations: 31.97 kB / 1.537 GB, free: 9.191 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7741, allocations: 47.91 kB / 1.537 GB, free: 9.145 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.7742, allocations: 15.98 kB / 1.537 GB, free: 9.129 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001598/0.7758, allocations: 1.305 MB / 1.538 GB, free: 7.82 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7758, allocations: 0 / 1.538 GB, free: 7.82 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008548/0.7766, allocations: 191.8 kB / 1.538 GB, free: 7.633 MB / 1.232 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,12,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.001915/0.7785, allocations: 497.5 kB / 1.539 GB, free: 7.324 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.7801, allocations: 0.6479 MB / 1.539 GB, free: 6.664 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7801, allocations: 4 kB / 1.539 GB, free: 6.66 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.781, allocations: 0.513 MB / 1.54 GB, free: 6.121 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.7821, allocations: 206.3 kB / 1.54 GB, free: 5.93 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.787, allocations: 2.45 MB / 1.542 GB, free: 3.441 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.7884, allocations: 1.15 MB / 1.544 GB, free: 2.262 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.7886, allocations: 51.42 kB / 1.544 GB, free: 2.211 MB / 1.232 GB Notification: Performance of SimCode: time 1.863e-06/0.7886, allocations: 0 / 1.544 GB, free: 2.211 MB / 1.232 GB Notification: Performance of Templates: time 0.04687/0.8354, allocations: 18.15 MB / 1.561 GB, free: 80 kB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.277421823993791]