Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.001734/0.001734, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.002071/0.002071, allocations: 214.2 kB / 22.99 MB, free: 4.988 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") [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.002034/0.002034, allocations: 65.91 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2923, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1738/0.4661, allocations: 138.5 MB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.4931, allocations: 19.71 MB / 1.482 GB, free: 2.156 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.4948, allocations: 71.44 kB / 1.482 GB, free: 2.086 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.4967, allocations: 1.173 MB / 1.483 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.4986, allocations: 0.9185 MB / 1.484 GB, free: 15.99 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4996, allocations: 386.9 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.5013, allocations: 1.282 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.5022, allocations: 0.5546 MB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.5029, allocations: 0.5608 MB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.5041, allocations: 1.007 MB / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5042, allocations: 64 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.5044, allocations: 123.9 kB / 1.488 GB, free: 12 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.5047, allocations: 324.7 kB / 1.488 GB, free: 11.69 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.5051, allocations: 385.5 kB / 1.488 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.5064, allocations: 1.225 MB / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5064, allocations: 0 / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5064, allocations: 0 / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5064, allocations: 0 / 1.489 GB, free: 10.08 MB / 1.186 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.002457/0.5089, allocations: 1.512 MB / 1.491 GB, free: 8.527 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5089, allocations: 12.03 kB / 1.491 GB, free: 8.516 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.5091, allocations: 144 kB / 1.491 GB, free: 8.375 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.5101, allocations: 0.6026 MB / 1.492 GB, free: 7.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.5102, allocations: 100.4 kB / 1.492 GB, free: 7.621 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.5103, allocations: 48 kB / 1.492 GB, free: 7.574 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5114, allocations: 0.5224 MB / 1.492 GB, free: 7.039 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.5114, allocations: 3.938 kB / 1.492 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.5115, allocations: 16 kB / 1.492 GB, free: 7.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5115, allocations: 8 kB / 1.492 GB, free: 7.012 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.5124, allocations: 419.7 kB / 1.493 GB, free: 6.602 MB / 1.186 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.003313/0.5157, allocations: 1.777 MB / 1.494 GB, free: 4.793 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.5167, allocations: 420 kB / 1.495 GB, free: 4.371 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/0.5174, allocations: 283.8 kB / 1.495 GB, free: 4.094 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.5174, allocations: 16.2 kB / 1.495 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/0.518, allocations: 288.4 kB / 1.495 GB, free: 3.785 MB / 1.186 GB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.518, allocations: 0 / 1.495 GB, free: 3.785 MB / 1.186 GB Notification: Performance of matching and sorting (n=44): time 0.002757/0.5208, allocations: 1.002 MB / 1.496 GB, free: 2.77 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5208, allocations: 55.41 kB / 1.496 GB, free: 2.703 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.5228, allocations: 1.775 MB / 1.498 GB, free: 0.918 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.5229, allocations: 37.7 kB / 1.498 GB, free: 0.875 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.5234, allocations: 0.5259 MB / 1.499 GB, free: 352 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5235, allocations: 154.7 kB / 1.499 GB, free: 196 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.5237, allocations: 102.3 kB / 1.499 GB, free: 88 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5238, allocations: 326 kB / 1.499 GB, free: 15.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.5243, allocations: 217.2 kB / 1.5 GB, free: 15.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.5249, allocations: 344.1 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.5259, allocations: 0.519 MB / 1.5 GB, free: 14.6 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5259, allocations: 0 / 1.5 GB, free: 14.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001656/0.5276, allocations: 0.8112 MB / 1.501 GB, free: 13.78 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5276, allocations: 8 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5276, allocations: 7.938 kB / 1.501 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.5281, allocations: 138.7 kB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.5285, allocations: 103.8 kB / 1.501 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.5315, allocations: 2.452 MB / 1.504 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.5319, allocations: 67.69 kB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.5319, allocations: 20 kB / 1.504 GB, free: 10.89 MB / 1.201 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.0004817/0.5324, allocations: 395.3 kB / 1.504 GB, free: 10.49 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.5326, allocations: 119.2 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.5341, allocations: 0.724 MB / 1.505 GB, free: 9.637 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.5341, allocations: 8 kB / 1.505 GB, free: 9.629 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5341, allocations: 3.938 kB / 1.505 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5341, allocations: 3.984 kB / 1.505 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.5365, allocations: 1.373 MB / 1.506 GB, free: 8.207 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5365, allocations: 4 kB / 1.506 GB, free: 8.203 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.5368, allocations: 43.91 kB / 1.506 GB, free: 8.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.5372, allocations: 165.6 kB / 1.507 GB, free: 7.992 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.5373, allocations: 15.88 kB / 1.507 GB, free: 7.977 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/0.5414, allocations: 3.966 MB / 1.511 GB, free: 3.812 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5414, allocations: 0 / 1.511 GB, free: 3.812 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.5433, allocations: 1.025 MB / 1.512 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.5436, allocations: 147.1 kB / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.5437, allocations: 12 kB / 1.512 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.544, allocations: 27.97 kB / 1.512 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.5441, allocations: 59.89 kB / 1.512 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.5442, allocations: 16 kB / 1.512 GB, free: 2.508 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001487/0.5457, allocations: 1.285 MB / 1.513 GB, free: 1.219 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5457, allocations: 0 / 1.513 GB, free: 1.219 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000752/0.5464, allocations: 203.7 kB / 1.513 GB, free: 1.02 MB / 1.201 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 (30): * Single equations (assignments): 22 * 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.001969/0.5484, allocations: 0.5011 MB / 1.514 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.5498, allocations: 0.6509 MB / 1.514 GB, free: 64 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5498, allocations: 12.06 kB / 1.514 GB, free: 52 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.5507, allocations: 0.5207 MB / 1.515 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/0.5517, allocations: 208.5 kB / 1.515 GB, free: 15.31 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.5554, allocations: 2.392 MB / 1.517 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.556, allocations: 0.5661 MB / 1.518 GB, free: 12.29 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.5563, allocations: 88.67 kB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5564, allocations: 39.42 kB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.5564, allocations: 0 / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of Templates: time 0.02144/0.5778, allocations: 11.8 MB / 1.53 GB, free: 0.5508 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: 10.78403295800672]