Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001261/0.001261, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.699/1.699, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.001051/0.001051, allocations: 91.16 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.26e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 142.4 MB / 1.213 GB, free: 38.34 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8299/1.159, allocations: 150.7 MB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/1.159, allocations: 72.12 kB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00983/1.169, allocations: 3.861 MB / 1.364 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.169, allocations: 0 / 1.364 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.957e-05/1.169, allocations: 7.844 kB / 1.364 GB, free: 34.52 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006302/1.169, allocations: 0.4921 MB / 1.364 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.17, allocations: 7.719 kB / 1.364 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/1.17, allocations: 62.2 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/1.17, allocations: 31.12 kB / 1.364 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/1.17, allocations: 280.4 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/1.17, allocations: 22.42 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/1.17, allocations: 25.97 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/1.17, allocations: 210.8 kB / 1.365 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.17, allocations: 0 / 1.365 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/1.171, allocations: 18.12 kB / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.171, allocations: 3.844 kB / 1.365 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/1.171, allocations: 154.8 kB / 1.365 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.172, allocations: 0.7262 MB / 1.365 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/1.172, allocations: 155.3 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/1.172, allocations: 62.48 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/1.172, allocations: 0 / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/1.172, allocations: 30.56 kB / 1.366 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/1.172, allocations: 3.906 kB / 1.366 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002806/1.173, allocations: 145.2 kB / 1.366 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/1.173, allocations: 55.28 kB / 1.366 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/1.173, allocations: 212.4 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/1.173, allocations: 32.86 kB / 1.366 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/1.173, allocations: 149.1 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.173, allocations: 44.41 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/1.173, allocations: 6.938 kB / 1.366 GB, free: 33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/1.173, allocations: 331.8 kB / 1.367 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/1.173, allocations: 54.19 kB / 1.367 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/1.173, allocations: 58.81 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/1.173, allocations: 43.08 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.173, allocations: 0 / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002185/1.174, allocations: 150.6 kB / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.174, allocations: 6.984 kB / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.174, allocations: 3.938 kB / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.174, allocations: 0 / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/1.174, allocations: 40.66 kB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.174, allocations: 0 / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/1.174, allocations: 26.27 kB / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/1.174, allocations: 10.28 kB / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.315e-05/1.174, allocations: 116.2 kB / 1.367 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/1.174, allocations: 23.47 kB / 1.367 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/1.174, allocations: 23.11 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.174, allocations: 3.875 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.174, allocations: 3.938 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.174, allocations: 0 / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/1.174, allocations: 316.7 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.174, allocations: 3.938 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/1.175, allocations: 25.33 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.175, allocations: 7.875 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/1.175, allocations: 3.375 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.175, allocations: 2.906 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.175, allocations: 3.984 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/1.175, allocations: 250 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/1.175, allocations: 107 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/1.175, allocations: 0 / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.175, allocations: 28.39 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/1.175, allocations: 30.39 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.175, allocations: 11.78 kB / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001183/1.175, allocations: 160.9 kB / 1.368 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.175, allocations: 0 / 1.368 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002505/1.176, allocations: 49.56 kB / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005172/1.176, allocations: 0.8018 MB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002059/1.176, allocations: 123 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.176, allocations: 3.312 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/1.176, allocations: 71.05 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/1.177, allocations: 21 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/1.177, allocations: 322.2 kB / 1.369 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.178, allocations: 0.7507 MB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00011/1.178, allocations: 22.66 kB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.178, allocations: 72.91 kB / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.178, allocations: 3.938 kB / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/1.194, allocations: 4.189 MB / 1.374 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/1.194, allocations: 220.5 kB / 1.375 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.825, allocations: 0 / 1.375 GB, free: 29.78 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat