Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.455/0.455, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009523, allocations: 106.7 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 0.4891 GB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3212, allocations: 70.05 MB / 0.5575 GB, free: 44.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1519/0.4731, allocations: 155.2 MB / 0.7091 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.3187/0.7919, allocations: 21.92 MB / 0.7305 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.7945, allocations: 52.66 kB / 0.7305 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.7967, allocations: 2.123 MB / 0.7326 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.7988, allocations: 1.395 MB / 0.7339 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.8003, allocations: 0.5498 MB / 0.7345 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.8037, allocations: 2.084 MB / 0.7365 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.806, allocations: 1.031 MB / 0.7375 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.8079, allocations: 0.8244 MB / 0.7383 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.8099, allocations: 1.574 MB / 0.7399 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.8101, allocations: 55.31 kB / 0.7399 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.8105, allocations: 110.5 kB / 0.74 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004796/0.811, allocations: 0.5411 MB / 0.7405 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.8118, allocations: 0.7616 MB / 0.7413 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.8131, allocations: 1.85 MB / 0.7431 GB, free: 464 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8131, allocations: 2.906 kB / 0.7431 GB, free: 464 kB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/0.8131, allocations: 1.812 kB / 0.7431 GB, free: 464 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.8131, allocations: 4 kB / 0.7431 GB, free: 460 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003206/0.8163, allocations: 2.352 MB / 0.7454 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.8164, allocations: 7.438 kB / 0.7454 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.8166, allocations: 244.1 kB / 0.7456 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.8179, allocations: 1.034 MB / 0.7467 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.818, allocations: 88.03 kB / 0.7467 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.8181, allocations: 74.98 kB / 0.7468 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.8193, allocations: 0.7836 MB / 0.7476 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.8194, allocations: 3.328 kB / 0.7476 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.8194, allocations: 28.56 kB / 0.7476 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.8195, allocations: 13.53 kB / 0.7476 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.8205, allocations: 0.634 MB / 0.7482 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.8253, allocations: 3.731 MB / 0.7519 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.8268, allocations: 0.7453 MB / 0.7526 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.8275, allocations: 431 kB / 0.753 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.8275, allocations: 8.375 kB / 0.753 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007405/0.8283, allocations: 451.3 kB / 0.7535 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=73): time 5.079e-06/0.8283, allocations: 0 / 0.7535 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.004045/0.8323, allocations: 1.832 MB / 0.7552 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.8324, allocations: 62.66 kB / 0.7553 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.8356, allocations: 3.364 MB / 0.7586 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.8357, allocations: 42.45 kB / 0.7586 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/0.8363, allocations: 0.9246 MB / 0.7595 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.8365, allocations: 242.2 kB / 0.7598 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.8367, allocations: 137.7 kB / 0.7599 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8369, allocations: 337.7 kB / 0.7602 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.8375, allocations: 318.1 kB / 0.7605 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.8383, allocations: 476.8 kB / 0.761 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8395, allocations: 0.7453 MB / 0.7617 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.8395, allocations: 2.906 kB / 0.7617 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002267/0.8418, allocations: 1.251 MB / 0.7629 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8418, allocations: 8.375 kB / 0.7629 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8418, allocations: 3.281 kB / 0.7629 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/0.8425, allocations: 259.7 kB / 0.7632 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.843, allocations: 137.1 kB / 0.7633 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.8472, allocations: 4.372 MB / 0.7676 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.848, allocations: 105.3 kB / 0.7677 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.848, allocations: 32.5 kB / 0.7677 GB, free: 8.062 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007813/0.8488, allocations: 0.603 MB / 0.7683 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.849, allocations: 218.8 kB / 0.7685 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.8494, allocations: 256 kB / 0.7688 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8494, allocations: 12.3 kB / 0.7688 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.8494, allocations: 5.125 kB / 0.7688 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.8494, allocations: 0 / 0.7688 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.8532, allocations: 2.42 MB / 0.7711 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8533, allocations: 0 / 0.7711 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.8536, allocations: 69.14 kB / 0.7712 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.8542, allocations: 254.4 kB / 0.7714 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.8542, allocations: 16.73 kB / 0.7715 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.8585, allocations: 4.373 MB / 0.7757 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8585, allocations: 0 / 0.7757 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/0.8785, allocations: 13.48 MB / 0.7889 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/0.8791, allocations: 322.2 kB / 0.7892 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8792, allocations: 19.98 kB / 0.7892 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.8798, allocations: 54.86 kB / 0.7893 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.88, allocations: 68.55 kB / 0.7893 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.88, allocations: 31.98 kB / 0.7894 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00268/0.8827, allocations: 2.456 MB / 0.7918 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8827, allocations: 0 / 0.7918 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001516/0.8843, allocations: 451.5 kB / 0.7922 GB, free: 3.035 MB / 0.5417 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001096/0.8854, allocations: 499.3 kB / 0.7927 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.8875, allocations: 1.092 MB / 0.7937 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8875, allocations: 2.906 kB / 0.7937 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.8887, allocations: 0.7036 MB / 0.7944 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.8903, allocations: 267.9 kB / 0.7947 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/0.8978, allocations: 5.477 MB / 0.8 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.8991, allocations: 1.572 MB / 0.8016 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005832/0.8997, allocations: 162.6 kB / 0.8017 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.8998, allocations: 75.41 kB / 0.8018 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of SimCode: time 1.873e-06/0.8999, allocations: 0 / 0.8018 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of Templates: time 0.02911/0.929, allocations: 17.01 MB / 0.8184 GB, free: 8.48 MB / 0.573 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)