Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002254, allocations: 281.4 kB / 303.6 MB, free: 3.738 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 180.9 MB / 0.5268 GB, free: 2.676 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 91.84 kB / 0.7259 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5287, allocations: 94.15 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1925/0.7212, allocations: 157.3 MB / 0.9714 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02674/0.7479, allocations: 21.81 MB / 0.9927 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.7497, allocations: 55.69 kB / 0.9928 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.7513, allocations: 1.161 MB / 0.9939 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.7528, allocations: 0.864 MB / 0.9948 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.7539, allocations: 449.6 kB / 0.9952 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.7553, allocations: 1.255 MB / 0.9964 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007183/0.756, allocations: 0.5543 MB / 0.997 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.7567, allocations: 0.5569 MB / 0.9975 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.7578, allocations: 1.007 MB / 0.9985 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.758, allocations: 67.94 kB / 0.9986 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.7582, allocations: 108 kB / 0.9987 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.7585, allocations: 316.7 kB / 0.999 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.7589, allocations: 492.8 kB / 0.9994 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.7602, allocations: 1.213 MB / 1.001 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.7602, allocations: 0 / 1.001 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7602, allocations: 0 / 1.001 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.7602, allocations: 0 / 1.001 GB, free: 5.336 MB / 0.7325 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.002318/0.7625, allocations: 1.528 MB / 1.002 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7626, allocations: 12.03 kB / 1.002 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.7628, allocations: 140 kB / 1.002 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.7636, allocations: 0.6755 MB / 1.003 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.7638, allocations: 70.69 kB / 1.003 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.7638, allocations: 51.98 kB / 1.003 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.7648, allocations: 0.5145 MB / 1.004 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.7648, allocations: 0 / 1.004 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.7649, allocations: 20 kB / 1.004 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.7649, allocations: 16 kB / 1.004 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.7657, allocations: 411.7 kB / 1.004 GB, free: 1.781 MB / 0.7325 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.003645/0.7694, allocations: 2.8 MB / 1.007 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.7704, allocations: 437.5 kB / 1.007 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.771, allocations: 273.3 kB / 1.007 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.771, allocations: 4.766 kB / 1.007 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005958/0.7716, allocations: 294.5 kB / 1.008 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/0.7716, allocations: 0 / 1.008 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002976/0.7746, allocations: 1.246 MB / 1.009 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.7746, allocations: 59.34 kB / 1.009 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.7765, allocations: 1.756 MB / 1.011 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.7766, allocations: 37.7 kB / 1.011 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.777, allocations: 0.526 MB / 1.011 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.7772, allocations: 150.8 kB / 1.011 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.7773, allocations: 94.25 kB / 1.011 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7775, allocations: 330 kB / 1.012 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.778, allocations: 217 kB / 1.012 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.7785, allocations: 332.8 kB / 1.012 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/0.7795, allocations: 0.5121 MB / 1.013 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7795, allocations: 4 kB / 1.013 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001653/0.7811, allocations: 0.8436 MB / 1.014 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7812, allocations: 8 kB / 1.014 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.7812, allocations: 4 kB / 1.014 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.7817, allocations: 186.3 kB / 1.014 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.782, allocations: 99.94 kB / 1.014 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.7857, allocations: 2.99 MB / 1.017 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.7862, allocations: 75.62 kB / 1.017 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.7862, allocations: 19.94 kB / 1.017 GB, free: 3.949 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005257/0.7867, allocations: 391.4 kB / 1.017 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.7869, allocations: 123.1 kB / 1.017 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.7871, allocations: 139.7 kB / 1.018 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7871, allocations: 4 kB / 1.018 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.7871, allocations: 7.938 kB / 1.018 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.7871, allocations: 3.984 kB / 1.018 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.7896, allocations: 1.547 MB / 1.019 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7896, allocations: 4 kB / 1.019 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.7898, allocations: 55.89 kB / 1.019 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/0.7903, allocations: 189.5 kB / 1.019 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.7903, allocations: 15.98 kB / 1.019 GB, free: 1.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.795, allocations: 4.548 MB / 1.024 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.795, allocations: 0 / 1.024 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.7969, allocations: 1.064 MB / 1.025 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.7972, allocations: 236.1 kB / 1.025 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.7973, allocations: 12 kB / 1.025 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.7976, allocations: 23.97 kB / 1.025 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.7977, allocations: 51.92 kB / 1.025 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.7977, allocations: 19.98 kB / 1.025 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001436/0.7992, allocations: 1.277 MB / 1.026 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/0.7992, allocations: 4 kB / 1.026 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007504/0.7999, allocations: 199.8 kB / 1.027 GB, free: 9.676 MB / 0.7637 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 (28): * Single equations (assignments): 20 * 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,13,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.001661/0.8016, allocations: 481.8 kB / 1.027 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.8032, allocations: 0.7032 MB / 1.028 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8032, allocations: 0 / 1.028 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.8041, allocations: 0.5328 MB / 1.028 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.805, allocations: 196.6 kB / 1.028 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.8087, allocations: 2.464 MB / 1.031 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.8095, allocations: 1.142 MB / 1.032 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.8096, allocations: 51.42 kB / 1.032 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of SimCode: time 6.21e-07/0.8096, allocations: 4 kB / 1.032 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of Templates: time 0.02497/0.8346, allocations: 17.92 MB / 1.049 GB, free: 2.328 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.08287672395818] Failed to read output from testmodel.py, exit status != 0: 0.842483886051923 0.854444746 0.091584395 Calling exit ...