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.001692/0.001692, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001059/0.001059, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.972/1.972, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|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.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.31e-05, allocations: 5.906 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1425/0.1425, allocations: 138.6 MB / 0.8954 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03275/0.1753, allocations: 19.73 MB / 0.9146 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004923/0.1802, allocations: 71.44 kB / 0.9147 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.1847, allocations: 1.157 MB / 0.9158 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.1865, allocations: 0.9296 MB / 0.9167 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009249/0.1874, allocations: 370.8 kB / 0.9171 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004661/0.192, allocations: 1.305 MB / 0.9184 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.1929, allocations: 0.5647 MB / 0.9189 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.1972, allocations: 0.8419 MB / 0.9197 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1983, allocations: 0.7505 MB / 0.9205 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1984, allocations: 64 kB / 0.9205 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.1987, allocations: 108 kB / 0.9206 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1989, allocations: 332.7 kB / 0.921 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.1992, allocations: 287 kB / 0.9212 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.2032, allocations: 0.8016 MB / 0.922 GB, free: 344 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2032, allocations: 0 / 0.922 GB, free: 344 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2032, allocations: 0 / 0.922 GB, free: 344 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.2033, allocations: 0 / 0.922 GB, free: 344 kB / 0.8698 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.001695/0.205, allocations: 1.405 MB / 0.9234 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.205, allocations: 8.031 kB / 0.9234 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.2052, allocations: 112.8 kB / 0.9235 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/0.2089, allocations: 0.5609 MB / 0.9241 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.209, allocations: 100.4 kB / 0.9241 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.2091, allocations: 51.94 kB / 0.9242 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.2096, allocations: 362.4 kB / 0.9245 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2096, allocations: 0 / 0.9245 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2097, allocations: 27.97 kB / 0.9246 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2097, allocations: 8 kB / 0.9246 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.2099, allocations: 125.7 kB / 0.9247 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.2149, allocations: 1.141 MB / 0.9258 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.2153, allocations: 254.3 kB / 0.9261 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.2156, allocations: 162.1 kB / 0.9262 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2156, allocations: 4.328 kB / 0.9262 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.2159, allocations: 175.3 kB / 0.9264 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.2159, allocations: 0 / 0.9264 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.00123/0.2171, allocations: 0.5481 MB / 0.9269 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2171, allocations: 55.41 kB / 0.927 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.2201, allocations: 1.116 MB / 0.9281 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.2201, allocations: 37.7 kB / 0.9281 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.2203, allocations: 325 kB / 0.9284 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.2204, allocations: 150.8 kB / 0.9285 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.2205, allocations: 102.2 kB / 0.9286 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.2206, allocations: 333.9 kB / 0.929 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.2207, allocations: 60.11 kB / 0.929 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2209, allocations: 180.2 kB / 0.9292 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.2211, allocations: 284.4 kB / 0.9295 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2211, allocations: 0 / 0.9295 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005029/0.2216, allocations: 416.4 kB / 0.9299 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2216, allocations: 8 kB / 0.9299 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2216, allocations: 0 / 0.9299 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/0.2219, allocations: 102 kB / 0.93 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2221, allocations: 111.8 kB / 0.9301 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.2236, allocations: 1.932 MB / 0.932 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.2238, allocations: 63.66 kB / 0.932 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2239, allocations: 20 kB / 0.932 GB, free: 5.656 MB / 0.8855 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,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 (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 {(2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.224, allocations: 166.4 kB / 0.9322 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.2241, allocations: 79.86 kB / 0.9323 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.2245, allocations: 375.5 kB / 0.9326 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2245, allocations: 8 kB / 0.9326 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2245, allocations: 0 / 0.9326 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2245, allocations: 7.984 kB / 0.9326 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008717/0.2254, allocations: 0.7856 MB / 0.9334 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2254, allocations: 0 / 0.9334 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2256, allocations: 59.95 kB / 0.9335 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.2259, allocations: 179.4 kB / 0.9336 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.2259, allocations: 7.984 kB / 0.9337 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.2278, allocations: 3.028 MB / 0.9366 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2278, allocations: 0 / 0.9366 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.2283, allocations: 0.5468 MB / 0.9371 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.2285, allocations: 107.2 kB / 0.9372 GB, free: 64 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.2285, allocations: 12 kB / 0.9373 GB, free: 52 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2287, allocations: 27.98 kB / 0.9373 GB, free: 24 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.2288, allocations: 51.89 kB / 0.9373 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.2288, allocations: 19.92 kB / 0.9373 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004055/0.2292, allocations: 0.5496 MB / 0.9379 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.2292, allocations: 0 / 0.9379 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004844/0.2297, allocations: 207.7 kB / 0.9381 GB, free: 15.2 MB / 0.9011 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 (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.00136/0.231, allocations: 0.5849 MB / 0.9387 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.2316, allocations: 439.7 kB / 0.9391 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.2317, allocations: 12 kB / 0.9391 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.232, allocations: 445.3 kB / 0.9395 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.2325, allocations: 201.6 kB / 0.9397 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.2348, allocations: 1.863 MB / 0.9415 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2352, allocations: 258 kB / 0.9418 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.2354, allocations: 68.73 kB / 0.9418 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.2356, allocations: 173.3 kB / 0.942 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/0.2356, allocations: 0 / 0.942 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.01631/0.2519, allocations: 11.13 MB / 0.9529 GB, free: 472 kB / 0.9011 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.063069735188037]