Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.261/2.261, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001357, allocations: 190 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009595/0.0009594, allocations: 109.7 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 14.61 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2741, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.461, allocations: 154.9 MB / 1.381 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4612, allocations: 75.95 kB / 1.381 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05944/0.5207, allocations: 22.53 MB / 1.403 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5208, allocations: 0 / 1.403 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.158e-05/0.5209, allocations: 39.98 kB / 1.403 GB, free: 7.824 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.003655/0.5245, allocations: 1.759 MB / 1.404 GB, free: 5.988 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.5246, allocations: 16.55 kB / 1.404 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003668/0.525, allocations: 227.6 kB / 1.405 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.5253, allocations: 193.8 kB / 1.405 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.5272, allocations: 0.9578 MB / 1.406 GB, free: 4.543 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.5274, allocations: 123 kB / 1.406 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.5276, allocations: 164 kB / 1.406 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.5302, allocations: 1.448 MB / 1.407 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.5302, allocations: 4 kB / 1.407 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5304, allocations: 60 kB / 1.408 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.5304, allocations: 36 kB / 1.408 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.5327, allocations: 1.136 MB / 1.409 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007208/0.5399, allocations: 4.002 MB / 1.413 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.5422, allocations: 1.252 MB / 1.414 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.5423, allocations: 13 kB / 1.414 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5434, allocations: 0.6085 MB / 1.414 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=104): time 3.386e-06/0.5434, allocations: 4 kB / 1.414 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=104): time 0.002646/0.5461, allocations: 1.284 MB / 1.416 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5462, allocations: 218.6 kB / 1.416 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5475, allocations: 0.863 MB / 1.417 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.5477, allocations: 65.7 kB / 1.417 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/0.5482, allocations: 0.6137 MB / 1.417 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.5485, allocations: 323.3 kB / 1.418 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.5486, allocations: 24 kB / 1.418 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5487, allocations: 341.9 kB / 1.418 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/0.5496, allocations: 438.1 kB / 1.418 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5506, allocations: 0.6125 MB / 1.419 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.5515, allocations: 486.2 kB / 1.42 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5516, allocations: 4 kB / 1.42 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00234/0.5539, allocations: 1.222 MB / 1.421 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.5542, allocations: 0.5063 MB / 1.421 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5542, allocations: 0 / 1.421 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.5542, allocations: 8 kB / 1.421 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/0.555, allocations: 195.7 kB / 1.421 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.555, allocations: 11.92 kB / 1.421 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5561, allocations: 246.7 kB / 1.422 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.5562, allocations: 39.98 kB / 1.422 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.5563, allocations: 4 kB / 1.422 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00185/0.5581, allocations: 1.046 MB / 1.423 GB, free: 2.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5581, allocations: 4 kB / 1.423 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.5581, allocations: 4 kB / 1.423 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.5588, allocations: 183.7 kB / 1.423 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5589, allocations: 7.984 kB / 1.423 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.5599, allocations: 226.8 kB / 1.423 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.56, allocations: 43.98 kB / 1.423 GB, free: 2.312 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0007355/0.5607, allocations: 395.5 kB / 1.424 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.5609, allocations: 118.5 kB / 1.424 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.5629, allocations: 1.033 MB / 1.425 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5629, allocations: 8 kB / 1.425 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5629, allocations: 0 / 1.425 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5629, allocations: 3.984 kB / 1.425 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5129/1.076, allocations: 2.396 MB / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.076, allocations: 0.5 kB / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/1.077, allocations: 180.9 kB / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/1.077, allocations: 5.25 kB / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/1.077, allocations: 31.16 kB / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/1.077, allocations: 8.844 kB / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.077, allocations: 0 / 1.427 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/1.079, allocations: 1.658 MB / 1.429 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/1.08, allocations: 214.1 kB / 1.429 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.08, allocations: 30.34 kB / 1.429 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/1.08, allocations: 95.62 kB / 1.429 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/1.081, allocations: 127.4 kB / 1.429 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/1.081, allocations: 34.02 kB / 1.429 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000826/1.082, allocations: 0.6387 MB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.082, allocations: 2.688 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001231/1.083, allocations: 495 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003043/1.086, allocations: 2.554 MB / 1.433 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003196/1.089, allocations: 1.826 MB / 1.435 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.089, allocations: 4.969 kB / 1.435 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009229/1.09, allocations: 0.4946 MB / 1.435 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/1.091, allocations: 199.8 kB / 1.435 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/1.095, allocations: 3.988 MB / 1.439 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/1.096, allocations: 1.177 MB / 1.44 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007596/1.097, allocations: 150.7 kB / 1.441 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/1.098, allocations: 0.5504 MB / 1.441 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/1.098, allocations: 0 / 1.441 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/1.143, allocations: 23.84 MB / 1.464 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.143, allocations: 251 kB / 1.465 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.873, allocations: 0 / 1.465 GB, free: 169.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat