Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001011/0.001011, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001081/0.001081, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9183/0.9183, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002401/0.002401, allocations: 241 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.699/0.699, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.566e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2865/0.2865, allocations: 139.2 MB / 0.691 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.2995, allocations: 19.7 MB / 0.7103 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.3002, allocations: 71.44 kB / 0.7103 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3014, allocations: 1.176 MB / 0.7115 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009661/0.3023, allocations: 0.9373 MB / 0.7124 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.3028, allocations: 374.8 kB / 0.7127 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009219/0.3038, allocations: 1.305 MB / 0.714 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.3043, allocations: 0.5714 MB / 0.7146 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.305, allocations: 0.8458 MB / 0.7154 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006252/0.3056, allocations: 0.8636 MB / 0.7162 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.3057, allocations: 68 kB / 0.7163 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3058, allocations: 119.9 kB / 0.7164 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.306, allocations: 332.7 kB / 0.7167 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3062, allocations: 287 kB / 0.717 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006457/0.3069, allocations: 0.7938 MB / 0.7178 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3069, allocations: 0 / 0.7178 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3069, allocations: 0 / 0.7178 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3069, allocations: 0 / 0.7178 GB, free: 5.773 MB / 0.5261 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.001409/0.3083, allocations: 1.637 MB / 0.7194 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3083, allocations: 8.75 kB / 0.7194 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3085, allocations: 183.3 kB / 0.7196 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.309, allocations: 0.6182 MB / 0.7202 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.3091, allocations: 100.3 kB / 0.7203 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.3092, allocations: 48 kB / 0.7203 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.3096, allocations: 388.1 kB / 0.7207 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3097, allocations: 3.984 kB / 0.7207 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3097, allocations: 20 kB / 0.7207 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3097, allocations: 15.94 kB / 0.7207 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.31, allocations: 161.8 kB / 0.7209 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.3117, allocations: 1.803 MB / 0.7226 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.3121, allocations: 261.5 kB / 0.7229 GB, free: 396 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3124, allocations: 172.2 kB / 0.7231 GB, free: 220 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3124, allocations: 4.328 kB / 0.7231 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.3126, allocations: 210.5 kB / 0.7233 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=44): time 1.683e-06/0.3126, allocations: 0 / 0.7233 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.001181/0.3138, allocations: 0.7192 MB / 0.724 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.3138, allocations: 55.41 kB / 0.724 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.3148, allocations: 1.272 MB / 0.7253 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3148, allocations: 41.7 kB / 0.7253 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.3151, allocations: 0.6075 MB / 0.7259 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.3152, allocations: 150.8 kB / 0.726 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3153, allocations: 108 kB / 0.7261 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3154, allocations: 0.4965 MB / 0.7266 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3155, allocations: 77.27 kB / 0.7267 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3157, allocations: 253.5 kB / 0.7269 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.3162, allocations: 338.5 kB / 0.7273 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3162, allocations: 6.75 kB / 0.7273 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000634/0.3168, allocations: 0.5517 MB / 0.7278 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3169, allocations: 4 kB / 0.7278 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3169, allocations: 4 kB / 0.7278 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.3172, allocations: 112.8 kB / 0.7279 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3173, allocations: 99.81 kB / 0.728 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3189, allocations: 2.63 MB / 0.7306 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.3191, allocations: 59.66 kB / 0.7306 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3191, allocations: 27.97 kB / 0.7307 GB, free: 8.086 MB / 0.5417 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.0001647/0.3193, allocations: 202.4 kB / 0.7309 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.3194, allocations: 131.2 kB / 0.731 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.32, allocations: 486.7 kB / 0.7314 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.32, allocations: 7.984 kB / 0.7315 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.32, allocations: 4 kB / 0.7315 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.32, allocations: 7.938 kB / 0.7315 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3213, allocations: 1.229 MB / 0.7327 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3213, allocations: 0 / 0.7327 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3214, allocations: 55.91 kB / 0.7327 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/0.3216, allocations: 124.5 kB / 0.7328 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.3217, allocations: 15.98 kB / 0.7329 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.3239, allocations: 4.625 MB / 0.7374 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3239, allocations: 0 / 0.7374 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.3246, allocations: 0.7271 MB / 0.7381 GB, free: 160 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3247, allocations: 147 kB / 0.7382 GB, free: 12 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3247, allocations: 12.81 kB / 0.7382 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3249, allocations: 19.98 kB / 0.7383 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.325, allocations: 55.89 kB / 0.7383 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.325, allocations: 19.98 kB / 0.7383 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006932/0.3257, allocations: 0.7848 MB / 0.7391 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.3257, allocations: 0 / 0.7391 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004334/0.3261, allocations: 211.7 kB / 0.7393 GB, free: 14.91 MB / 0.5573 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.000945/0.3271, allocations: 450.3 kB / 0.7397 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005991/0.3277, allocations: 0.5211 MB / 0.7402 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3277, allocations: 3.938 kB / 0.7402 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.3281, allocations: 0.5536 MB / 0.7408 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.3286, allocations: 200.9 kB / 0.741 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3306, allocations: 1.853 MB / 0.7428 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.3308, allocations: 270 kB / 0.743 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000168/0.331, allocations: 84.66 kB / 0.7431 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.3311, allocations: 44.48 kB / 0.7432 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.3311, allocations: 0 / 0.7432 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.01375/0.3448, allocations: 10.97 MB / 0.7539 GB, free: 352 kB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.394095930736512]