Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 191.2 kB / 16.62 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 76.77 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2597, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5477/0.8074, allocations: 156.7 MB / 0.9367 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.8313, allocations: 21.56 MB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.8335, allocations: 50.34 kB / 0.9578 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.835, allocations: 1.161 MB / 0.9589 GB, free: 4.551 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001367/0.8364, allocations: 0.8531 MB / 0.9597 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.8374, allocations: 410 kB / 0.9601 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.8386, allocations: 1.248 MB / 0.9613 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.8393, allocations: 0.6826 MB / 0.962 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.8399, allocations: 0.5478 MB / 0.9625 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.8409, allocations: 0.9136 MB / 0.9634 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.841, allocations: 66.81 kB / 0.9635 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.8412, allocations: 107.3 kB / 0.9636 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.8415, allocations: 324.7 kB / 0.9639 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.8418, allocations: 488.5 kB / 0.9644 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.8428, allocations: 1.199 MB / 0.9656 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8428, allocations: 0 / 0.9656 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8429, allocations: 0 / 0.9656 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.8429, allocations: 1.219 kB / 0.9656 GB, free: 3.832 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002132/0.845, allocations: 1.467 MB / 0.967 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.8451, allocations: 13.31 kB / 0.967 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.895e-05/0.8452, allocations: 84.89 kB / 0.9671 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.8453, allocations: 131 kB / 0.9672 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.846, allocations: 0.6665 MB / 0.9679 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.8462, allocations: 74.28 kB / 0.9679 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.277e-05/0.8463, allocations: 44.81 kB / 0.968 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.8472, allocations: 0.5164 MB / 0.9685 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.8472, allocations: 5.312 kB / 0.9685 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.8473, allocations: 17.75 kB / 0.9685 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.8473, allocations: 11 kB / 0.9685 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.8481, allocations: 411.6 kB / 0.9689 GB, free: 18.32 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.003251/0.8513, allocations: 2.71 MB / 0.9715 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.8522, allocations: 460.3 kB / 0.972 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005978/0.8528, allocations: 319.6 kB / 0.9723 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.8529, allocations: 6.891 kB / 0.9723 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.8534, allocations: 286.4 kB / 0.9726 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.8534, allocations: 0 / 0.9726 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.00247/0.8558, allocations: 1.14 MB / 0.9737 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.8559, allocations: 59.97 kB / 0.9737 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.8574, allocations: 1.762 MB / 0.9755 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.8575, allocations: 40.78 kB / 0.9755 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.8578, allocations: 0.5244 MB / 0.976 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.48e-05/0.8579, allocations: 141.1 kB / 0.9761 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.8581, allocations: 99.23 kB / 0.9762 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8582, allocations: 332.3 kB / 0.9766 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.8587, allocations: 211 kB / 0.9768 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.8592, allocations: 347.2 kB / 0.9771 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.86, allocations: 0.5108 MB / 0.9776 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.86, allocations: 1.906 kB / 0.9776 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001435/0.8614, allocations: 0.8144 MB / 0.9784 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8614, allocations: 11.31 kB / 0.9784 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8615, allocations: 4.906 kB / 0.9784 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.8618, allocations: 135.8 kB / 0.9785 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.8622, allocations: 99.66 kB / 0.9786 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.8648, allocations: 2.604 MB / 0.9812 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.8653, allocations: 76.36 kB / 0.9812 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.8654, allocations: 19.81 kB / 0.9813 GB, free: 10.89 MB / 0.7325 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,$PRE.mean.y,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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004701/0.8658, allocations: 390.6 kB / 0.9816 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.866, allocations: 111.5 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.8662, allocations: 147.1 kB / 0.9819 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8662, allocations: 2.562 kB / 0.9819 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.8662, allocations: 5.125 kB / 0.9819 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8662, allocations: 2.625 kB / 0.9819 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.8683, allocations: 1.487 MB / 0.9833 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.8683, allocations: 0 / 0.9833 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.8686, allocations: 46.95 kB / 0.9834 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.8689, allocations: 161.4 kB / 0.9835 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.869, allocations: 17.53 kB / 0.9836 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/0.8722, allocations: 4.019 MB / 0.9875 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8722, allocations: 0 / 0.9875 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.8738, allocations: 0.9843 MB / 0.9884 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.874, allocations: 216.6 kB / 0.9887 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.8741, allocations: 14.06 kB / 0.9887 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.8744, allocations: 27.84 kB / 0.9887 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.8745, allocations: 61.23 kB / 0.9887 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.8746, allocations: 18.86 kB / 0.9888 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001181/0.8758, allocations: 1.289 MB / 0.99 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8758, allocations: 0 / 0.99 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006896/0.8765, allocations: 200.2 kB / 0.9902 GB, free: 4.602 MB / 0.7325 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) * 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,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.002689/0.8792, allocations: 1.904 MB / 0.9921 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.8804, allocations: 0.6539 MB / 0.9927 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8804, allocations: 0 / 0.9927 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.8812, allocations: 0.53 MB / 0.9932 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.8821, allocations: 201.2 kB / 0.9934 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.8927, allocations: 8.497 MB / 1.002 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.8934, allocations: 1.147 MB / 1.003 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.8937, allocations: 89.62 kB / 1.003 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/0.8941, allocations: 407.9 kB / 1.003 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.8941, allocations: 3.938 kB / 1.003 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06742/0.9615, allocations: 20.49 MB / 1.023 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.16, allocations: 8.422 kB / 1.023 GB, free: 12.66 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)