Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",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.32/2.32, allocations: 390.5 MB / 398 MB, free: 11 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.001108/0.001108, allocations: 179.9 kB / 491.2 MB, free: 1.594 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.444/1.444, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001005/0.001005, allocations: 90.7 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.605e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2485, allocations: 143 MB / 1.212 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8566/1.105, allocations: 150.9 MB / 1.36 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.105, allocations: 80.22 kB / 1.36 GB, free: 17.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01544/1.121, allocations: 6.005 MB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/1.121, allocations: 0 / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.925e-05/1.121, allocations: 7.656 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001216/1.122, allocations: 0.6844 MB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.122, allocations: 11.69 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/1.122, allocations: 50.56 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/1.123, allocations: 236 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/1.123, allocations: 18.91 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/1.123, allocations: 30.88 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006507/1.123, allocations: 294.4 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/1.124, allocations: 382.9 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.124, allocations: 3.938 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/1.124, allocations: 4 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.124, allocations: 11.53 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/1.126, allocations: 1.197 MB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/1.126, allocations: 335.2 kB / 1.369 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.126, allocations: 161 kB / 1.369 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/1.126, allocations: 11.84 kB / 1.369 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/1.126, allocations: 34.25 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/1.126, allocations: 0 / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0004848/1.127, allocations: 282.8 kB / 1.369 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.127, allocations: 110.5 kB / 1.37 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.127, allocations: 226.4 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/1.127, allocations: 25.7 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/1.127, allocations: 217.3 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/1.127, allocations: 107.8 kB / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/1.127, allocations: 0 / 1.37 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.127, allocations: 342.3 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.127, allocations: 100.7 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/1.128, allocations: 133.9 kB / 1.371 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/1.128, allocations: 81.52 kB / 1.371 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.128, allocations: 4 kB / 1.371 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003645/1.128, allocations: 281.1 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.128, allocations: 3.344 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.128, allocations: 3.25 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.128, allocations: 0 / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/1.129, allocations: 107 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.129, allocations: 15.8 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/1.129, allocations: 61.44 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/1.129, allocations: 11.03 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 0.0001013/1.129, allocations: 114.3 kB / 1.371 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004286/1.129, allocations: 287.5 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/1.13, allocations: 34.33 kB / 1.372 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/1.13, allocations: 34.86 kB / 1.372 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.13, allocations: 11.75 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.13, allocations: 0 / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/1.13, allocations: 0 / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/1.13, allocations: 407.7 kB / 1.372 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.13, allocations: 3.938 kB / 1.372 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/1.131, allocations: 106.4 kB / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.131, allocations: 0 / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.131, allocations: 6.828 kB / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.131, allocations: 0 / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.131, allocations: 7.938 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/1.131, allocations: 0.5544 MB / 1.373 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/1.131, allocations: 111.1 kB / 1.373 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/1.131, allocations: 3.953 kB / 1.373 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/1.132, allocations: 52.64 kB / 1.373 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.132, allocations: 64.81 kB / 1.373 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/1.132, allocations: 11.28 kB / 1.373 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001108/1.132, allocations: 160.2 kB / 1.373 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.132, allocations: 0 / 1.373 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004085/1.132, allocations: 73.72 kB / 1.373 GB, free: 29.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0008087/1.133, allocations: 1.264 MB / 1.374 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004221/1.134, allocations: 271.1 kB / 1.375 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.134, allocations: 0 / 1.375 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/1.134, allocations: 177.1 kB / 1.375 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/1.134, allocations: 28.47 kB / 1.375 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.135, allocations: 0.5492 MB / 1.375 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/1.136, allocations: 0.8187 MB / 1.376 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001867/1.136, allocations: 35.14 kB / 1.376 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/1.136, allocations: 140.6 kB / 1.376 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.136, allocations: 0 / 1.376 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/1.166, allocations: 6.198 MB / 1.382 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.167, allocations: 203.1 kB / 1.383 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.503, allocations: 5.375 kB / 1.383 GB, free: 26.32 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat