Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",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.0012/0.0012, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005508/0.0005509, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.728, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001167/0.7292, allocations: 0.7821 MB / 0.9547 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7305, allocations: 0.9847 MB / 0.9556 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.7306, allocations: 3.375 kB / 0.9556 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.39e-05/0.7307, allocations: 11.86 kB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.7308, allocations: 14.02 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.731, allocations: 54.78 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.7313, allocations: 204.2 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.7314, allocations: 92.95 kB / 0.956 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.7316, allocations: 60.16 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.7317, allocations: 65.41 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.7317, allocations: 5.75 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.7318, allocations: 4.406 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.7318, allocations: 26.31 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.7318, allocations: 55.05 kB / 0.9562 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.732, allocations: 217.5 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.732, allocations: 0 / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.732, allocations: 0 / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.7321, allocations: 0 / 0.9564 GB, free: 6.148 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000585/0.7326, allocations: 462.2 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7327, allocations: 13.12 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.7328, allocations: 53.2 kB / 0.9569 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.7328, allocations: 25.77 kB / 0.9569 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.7332, allocations: 282.7 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.7333, allocations: 17.31 kB / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.7333, allocations: 24.69 kB / 0.9572 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.7337, allocations: 187.8 kB / 0.9574 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.7337, allocations: 0.875 kB / 0.9574 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.7337, allocations: 9.938 kB / 0.9574 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.7337, allocations: 4.281 kB / 0.9574 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.7341, allocations: 167.9 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.7348, allocations: 0.5674 MB / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.735, allocations: 132.8 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.7352, allocations: 64.55 kB / 0.9583 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.7352, allocations: 5.297 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.7353, allocations: 40.44 kB / 0.9584 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.7353, allocations: 0 / 0.9584 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005617/0.7358, allocations: 216.6 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.7359, allocations: 57.88 kB / 0.9586 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.736, allocations: 170.7 kB / 0.9588 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.736, allocations: 31.86 kB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.7361, allocations: 140.8 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.7361, allocations: 41.3 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.7361, allocations: 5.906 kB / 0.959 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.7362, allocations: 322.6 kB / 0.9593 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7364, allocations: 67.62 kB / 0.9594 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.7365, allocations: 104.2 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7367, allocations: 58.91 kB / 0.9595 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7367, allocations: 1.5 kB / 0.9595 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003887/0.7371, allocations: 191.2 kB / 0.9597 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7371, allocations: 5.5 kB / 0.9597 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7371, allocations: 1.375 kB / 0.9597 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7371, allocations: 6.891 kB / 0.9597 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.7373, allocations: 38.05 kB / 0.9598 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7373, allocations: 6.734 kB / 0.9598 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.7375, allocations: 26.83 kB / 0.9598 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.7375, allocations: 5.5 kB / 0.9598 GB, free: 3.355 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.7376, allocations: 148.7 kB / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.7376, allocations: 14.77 kB / 0.96 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.7377, allocations: 16.28 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7377, allocations: 2.75 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7377, allocations: 0 / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7377, allocations: 0 / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.7379, allocations: 270.8 kB / 0.9602 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7379, allocations: 0 / 0.9602 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.738, allocations: 21.86 kB / 0.9603 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.738, allocations: 5.375 kB / 0.9603 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7381, allocations: 9.359 kB / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.7381, allocations: 1.375 kB / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7381, allocations: 0 / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.7384, allocations: 267.5 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.7385, allocations: 85.39 kB / 0.9606 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.7385, allocations: 4.875 kB / 0.9606 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7386, allocations: 16.27 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.7387, allocations: 20.47 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.7387, allocations: 6.562 kB / 0.9607 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.754e-05/0.7388, allocations: 126.3 kB / 0.9608 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7388, allocations: 0.75 kB / 0.9608 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002814/0.739, allocations: 44.12 kB / 0.9608 GB, free: 2.461 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005599/0.7396, allocations: 0.8192 MB / 0.9616 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.74, allocations: 153 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.74, allocations: 0.9375 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.7402, allocations: 76.44 kB / 0.9618 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.7405, allocations: 27.27 kB / 0.9619 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.742, allocations: 0.9736 MB / 0.9628 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.7422, allocations: 0.7256 MB / 0.9635 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.7423, allocations: 27.47 kB / 0.9636 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.7424, allocations: 62.14 kB / 0.9636 GB, free: 104 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7424, allocations: 0 / 0.9636 GB, free: 104 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.756, allocations: 3.012 MB / 0.9666 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.7562, allocations: 263.4 kB / 0.9668 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.422, allocations: 2.062 kB / 0.9668 GB, free: 14.44 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat