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.001423/0.001423, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001586/0.001586, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.438/1.438, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.848/2.848, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.916e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.195/0.195, allocations: 138.4 MB / 0.946 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.2254, allocations: 19.71 MB / 0.9652 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.2272, allocations: 67.44 kB / 0.9653 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2292, allocations: 1.176 MB / 0.9664 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.2312, allocations: 0.9335 MB / 0.9673 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2324, allocations: 394.7 kB / 0.9677 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.2343, allocations: 1.309 MB / 0.969 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.2354, allocations: 0.5706 MB / 0.9696 GB, free: 15 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.2368, allocations: 0.7171 MB / 0.9703 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.2383, allocations: 0.9299 MB / 0.9712 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2385, allocations: 68 kB / 0.9712 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.2388, allocations: 127.9 kB / 0.9714 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.2393, allocations: 328.7 kB / 0.9717 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.2397, allocations: 287 kB / 0.9719 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.2414, allocations: 1.191 MB / 0.9731 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2414, allocations: 0 / 0.9731 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2414, allocations: 0 / 0.9731 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.885e-05/0.2414, allocations: 0 / 0.9731 GB, free: 11.36 MB / 0.9323 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.00304/0.2445, allocations: 1.485 MB / 0.9746 GB, free: 9.84 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2445, allocations: 15.97 kB / 0.9746 GB, free: 9.824 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.2449, allocations: 172 kB / 0.9747 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.246, allocations: 0.6259 MB / 0.9753 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.2462, allocations: 100.3 kB / 0.9754 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2463, allocations: 48 kB / 0.9755 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2475, allocations: 0.5301 MB / 0.976 GB, free: 8.297 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.2475, allocations: 3.984 kB / 0.976 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.2475, allocations: 16 kB / 0.976 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2475, allocations: 12 kB / 0.976 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.2485, allocations: 415.7 kB / 0.9764 GB, free: 7.859 MB / 0.9323 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.003851/0.2524, allocations: 1.796 MB / 0.9782 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.2536, allocations: 421 kB / 0.9786 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.2544, allocations: 285.3 kB / 0.9789 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.2544, allocations: 8.328 kB / 0.9789 GB, free: 5.309 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006585/0.2551, allocations: 296.7 kB / 0.9791 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 2.604e-06/0.2551, allocations: 0 / 0.9791 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.003305/0.2584, allocations: 1.013 MB / 0.9801 GB, free: 3.98 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.2584, allocations: 59.41 kB / 0.9802 GB, free: 3.91 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.2609, allocations: 1.771 MB / 0.9819 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.261, allocations: 37.7 kB / 0.982 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.2615, allocations: 0.5259 MB / 0.9825 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.2617, allocations: 150.8 kB / 0.9826 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.2619, allocations: 102.3 kB / 0.9827 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2621, allocations: 326 kB / 0.983 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.2626, allocations: 213.2 kB / 0.9832 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.2633, allocations: 348.1 kB / 0.9836 GB, free: 396 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2644, allocations: 0.5182 MB / 0.9841 GB, free: 15.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2644, allocations: 0 / 0.9841 GB, free: 15.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001966/0.2664, allocations: 0.8379 MB / 0.9849 GB, free: 14.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2664, allocations: 8 kB / 0.9849 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2664, allocations: 4 kB / 0.9849 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.267, allocations: 147 kB / 0.985 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.2674, allocations: 103.8 kB / 0.9851 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.271, allocations: 2.458 MB / 0.9875 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.2716, allocations: 75.69 kB / 0.9876 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.2716, allocations: 31.86 kB / 0.9876 GB, free: 12.05 MB / 0.948 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.0006117/0.2722, allocations: 379.6 kB / 0.988 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.2725, allocations: 143.1 kB / 0.9881 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.2742, allocations: 0.7162 MB / 0.9888 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.2742, allocations: 4 kB / 0.9888 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2742, allocations: 4 kB / 0.9888 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.2742, allocations: 3.984 kB / 0.9888 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.2771, allocations: 1.373 MB / 0.9902 GB, free: 9.375 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2771, allocations: 4 kB / 0.9902 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.2774, allocations: 47.97 kB / 0.9902 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/0.2779, allocations: 175.3 kB / 0.9904 GB, free: 9.148 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.278, allocations: 15.98 kB / 0.9904 GB, free: 9.133 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/0.283, allocations: 3.978 MB / 0.9943 GB, free: 4.953 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.283, allocations: 0 / 0.9943 GB, free: 4.953 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.2852, allocations: 1.029 MB / 0.9953 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.2855, allocations: 151 kB / 0.9955 GB, free: 3.758 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.2857, allocations: 19.98 kB / 0.9955 GB, free: 3.738 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2861, allocations: 27.97 kB / 0.9955 GB, free: 3.711 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.2862, allocations: 51.89 kB / 0.9956 GB, free: 3.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.2863, allocations: 16 kB / 0.9956 GB, free: 3.645 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00186/0.2881, allocations: 1.289 MB / 0.9968 GB, free: 2.352 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2881, allocations: 0 / 0.9968 GB, free: 2.352 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008725/0.289, allocations: 203.7 kB / 0.997 GB, free: 2.152 MB / 0.948 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.00239/0.2914, allocations: 0.5142 MB / 0.9975 GB, free: 1.848 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.293, allocations: 0.6562 MB / 0.9982 GB, free: 1.184 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.293, allocations: 192 / 0.9982 GB, free: 1.184 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.2941, allocations: 0.5243 MB / 0.9987 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2951, allocations: 210 kB / 0.9989 GB, free: 452 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.2994, allocations: 2.338 MB / 1.001 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.3001, allocations: 0.5583 MB / 1.002 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00031/0.3005, allocations: 96.66 kB / 1.002 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3006, allocations: 52.48 kB / 1.002 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of SimCode: time 6.62e-07/0.3006, allocations: 0 / 1.002 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.02275/0.3234, allocations: 10.36 MB / 1.012 GB, free: 3.168 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/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: 9.131433018948883]