Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.411/2.411, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001258/0.001258, allocations: 168 kB / 0.4901 GB, free: 2.234 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.494/1.494, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009232/0.0009228, allocations: 96.2 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 10.69 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 143 MB / 1.229 GB, free: 85.3 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.4941, allocations: 154.8 MB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4945, allocations: 75.95 kB / 1.381 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05754/0.552, allocations: 21.37 MB / 1.401 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.564e-06/0.5521, allocations: 0 / 1.401 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001518/0.5522, allocations: 35.98 kB / 1.401 GB, free: 4.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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.004516/0.5568, allocations: 1.687 MB / 1.403 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.5568, allocations: 12.56 kB / 1.403 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005361/0.5574, allocations: 202.8 kB / 1.403 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.558, allocations: 181.9 kB / 1.403 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.5601, allocations: 0.9303 MB / 1.404 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.5602, allocations: 118.7 kB / 1.404 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.5605, allocations: 144 kB / 1.405 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.5633, allocations: 1.338 MB / 1.406 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.5633, allocations: 0 / 1.406 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.5634, allocations: 56 kB / 1.406 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5721/1.136, allocations: 34.48 kB / 1.406 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/1.14, allocations: 1.047 MB / 1.407 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007604/1.147, allocations: 3.731 MB / 1.411 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/1.149, allocations: 1.168 MB / 1.412 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/1.15, allocations: 11.59 kB / 1.412 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/1.151, allocations: 0.5728 MB / 1.412 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=94): time 3.257e-06/1.151, allocations: 0 / 1.412 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=94): time 0.002757/1.154, allocations: 1.187 MB / 1.414 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/1.154, allocations: 222.2 kB / 1.414 GB, free: 159 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/1.155, allocations: 0.8308 MB / 1.415 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/1.155, allocations: 62.31 kB / 1.415 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/1.156, allocations: 0.5908 MB / 1.415 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/1.156, allocations: 290 kB / 1.415 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/1.156, allocations: 20.91 kB / 1.415 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.156, allocations: 346.1 kB / 1.416 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/1.157, allocations: 408 kB / 1.416 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.158, allocations: 0.5887 MB / 1.417 GB, free: 158 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/1.159, allocations: 460.8 kB / 1.417 GB, free: 157.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.159, allocations: 0 / 1.417 GB, free: 157.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002599/1.162, allocations: 1.159 MB / 1.418 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001979/1.162, allocations: 0.509 MB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.162, allocations: 2.016 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/1.162, allocations: 5.469 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/1.163, allocations: 180 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.163, allocations: 9.391 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.164, allocations: 240.9 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.164, allocations: 42.31 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.164, allocations: 3.969 kB / 1.419 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/1.166, allocations: 0.9894 MB / 1.42 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.166, allocations: 2.016 kB / 1.42 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/1.166, allocations: 5.094 kB / 1.42 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/1.167, allocations: 162.7 kB / 1.42 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.167, allocations: 7.844 kB / 1.42 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.168, allocations: 226.2 kB / 1.421 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/1.168, allocations: 37.5 kB / 1.421 GB, free: 157.1 MB / 0.9011 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,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,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,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,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 (116): * Single equations (assignments): 114 * 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.0008384/1.169, allocations: 385.8 kB / 1.421 GB, free: 156.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.169, allocations: 112.8 kB / 1.421 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/1.171, allocations: 0.9547 MB / 1.422 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.171, allocations: 8.812 kB / 1.422 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.171, allocations: 2.656 kB / 1.422 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/1.171, allocations: 4.969 kB / 1.422 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/1.176, allocations: 2.261 MB / 1.424 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.176, allocations: 1.469 kB / 1.424 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/1.176, allocations: 164.2 kB / 1.424 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/1.176, allocations: 5.234 kB / 1.425 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/1.176, allocations: 25.95 kB / 1.425 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.176, allocations: 5.672 kB / 1.425 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.176, allocations: 5.25 kB / 1.425 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/1.179, allocations: 1.543 MB / 1.426 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/1.18, allocations: 207.4 kB / 1.426 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.18, allocations: 28.38 kB / 1.426 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/1.181, allocations: 98.55 kB / 1.426 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/1.181, allocations: 119.9 kB / 1.426 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/1.181, allocations: 32.84 kB / 1.427 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001021/1.182, allocations: 0.627 MB / 1.427 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/1.182, allocations: 3.938 kB / 1.427 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001507/1.184, allocations: 469 kB / 1.428 GB, free: 155.6 MB / 0.9011 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.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,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 (98): * Single equations (assignments): 96 * 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.003376/1.187, allocations: 2.435 MB / 1.43 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.191, allocations: 1.729 MB / 1.432 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.191, allocations: 1.125 kB / 1.432 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/1.192, allocations: 461.5 kB / 1.432 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.193, allocations: 196.4 kB / 1.432 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/1.198, allocations: 3.776 MB / 1.436 GB, free: 151.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/1.198, allocations: 1.147 MB / 1.437 GB, free: 151 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007723/1.199, allocations: 143.8 kB / 1.437 GB, free: 151 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/1.2, allocations: 0.5085 MB / 1.438 GB, free: 151 MB / 0.9011 GB Notification: Performance of SimCode: time 1.273e-06/1.2, allocations: 0 / 1.438 GB, free: 151 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/1.249, allocations: 22.93 MB / 1.46 GB, free: 147.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.249, allocations: 244.7 kB / 1.46 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/4.048, allocations: 3.609 kB / 1.46 GB, free: 146.8 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat