Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",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.486/2.486, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001268/0.001268, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.873/1.873, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 93.39 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.452e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2994, allocations: 142.4 MB / 1.206 GB, free: 43.74 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.333, allocations: 150.9 MB / 1.353 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.333, allocations: 78.55 kB / 1.354 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01409/1.347, allocations: 5.786 MB / 1.359 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.655e-06/1.347, allocations: 3.938 kB / 1.359 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.732e-05/1.347, allocations: 15.59 kB / 1.359 GB, free: 33.49 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.000831/1.348, allocations: 0.6113 MB / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.348, allocations: 7.688 kB / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/1.348, allocations: 54.12 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/1.349, allocations: 384.1 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.349, allocations: 11.62 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/1.349, allocations: 23.03 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00042/1.349, allocations: 256.8 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/1.35, allocations: 344.4 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.35, allocations: 0 / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/1.35, allocations: 0 / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.35, allocations: 15.56 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/1.351, allocations: 1.174 MB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/1.352, allocations: 226.2 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/1.352, allocations: 110.2 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/1.352, allocations: 9.234 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/1.352, allocations: 167.7 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/1.352, allocations: 0 / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003571/1.352, allocations: 207.7 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/1.353, allocations: 157.9 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/1.353, allocations: 245.1 kB / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/1.353, allocations: 25.7 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/1.353, allocations: 237.9 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/1.353, allocations: 78.48 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/1.353, allocations: 0 / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.353, allocations: 340 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.353, allocations: 74.55 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/1.354, allocations: 132.5 kB / 1.364 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/1.354, allocations: 100.3 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.354, allocations: 0 / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003291/1.354, allocations: 245.3 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/1.354, allocations: 274.3 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.354, allocations: 2.812 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.354, allocations: 3.844 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/1.354, allocations: 65.78 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.354, allocations: 3.844 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.355, allocations: 43.2 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/1.355, allocations: 7.688 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/1.355, allocations: 3.844 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002734/1.355, allocations: 182.9 kB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/1.355, allocations: 0 / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-06/1.355, allocations: 3.938 kB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/1.355, allocations: 62.91 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/1.355, allocations: 7.797 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/1.355, allocations: 40.81 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.355, allocations: 6.969 kB / 1.365 GB, free: 30.79 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.482e-05/1.356, allocations: 115.4 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002526/1.356, allocations: 200.6 kB / 1.365 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/1.356, allocations: 29.86 kB / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/1.356, allocations: 244 kB / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/1.356, allocations: 0 / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.356, allocations: 3.844 kB / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.356, allocations: 2.766 kB / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/1.357, allocations: 0.7151 MB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.357, allocations: 0 / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.357, allocations: 58.34 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.357, allocations: 7.922 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.357, allocations: 10.16 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.357, allocations: 0 / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.357, allocations: 3.844 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/1.358, allocations: 467.7 kB / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/1.358, allocations: 117 kB / 1.367 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/1.358, allocations: 4 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/1.358, allocations: 25.19 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/1.358, allocations: 28.05 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.358, allocations: 10.03 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001685/1.358, allocations: 191.6 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.358, allocations: 0 / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00042/1.359, allocations: 131.4 kB / 1.367 GB, free: 29.76 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0008676/1.36, allocations: 1.22 MB / 1.368 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004024/1.36, allocations: 308.5 kB / 1.369 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.36, allocations: 0 / 1.369 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/1.36, allocations: 97.31 kB / 1.369 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/1.361, allocations: 55.3 kB / 1.369 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/1.362, allocations: 0.5154 MB / 1.369 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/1.362, allocations: 0.8134 MB / 1.37 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002064/1.362, allocations: 45.94 kB / 1.37 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/1.362, allocations: 132 kB / 1.37 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.362, allocations: 0 / 1.37 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/1.387, allocations: 5.877 MB / 1.376 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.387, allocations: 207.8 kB / 1.376 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.286, allocations: 4.859 kB / 1.376 GB, free: 27.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat