Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009888/0.0009892, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 11.98 kB / 0.8147 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7802, allocations: 142.3 MB / 0.9537 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001079/0.7813, allocations: 0.8145 MB / 0.9545 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.7824, allocations: 0.9888 MB / 0.9555 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.7825, allocations: 2.625 kB / 0.9555 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.7826, allocations: 17.14 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.7827, allocations: 37.66 kB / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.7828, allocations: 76.16 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.7831, allocations: 144.4 kB / 0.9557 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.7832, allocations: 75.03 kB / 0.9558 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.7833, allocations: 55.42 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.7834, allocations: 64.86 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.7834, allocations: 5.312 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.7834, allocations: 9.625 kB / 0.9559 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.7835, allocations: 34.44 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.7835, allocations: 53.2 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.7837, allocations: 263.1 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7837, allocations: 1.469 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7837, allocations: 0 / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.7837, allocations: 0 / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005311/0.7842, allocations: 481.6 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7843, allocations: 8.906 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.7843, allocations: 54.05 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.7844, allocations: 30.39 kB / 0.9568 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.7847, allocations: 272.8 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.7848, allocations: 15.28 kB / 0.9571 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.7848, allocations: 17.19 kB / 0.9571 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.7854, allocations: 228.1 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7854, allocations: 0 / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.7854, allocations: 10.31 kB / 0.9573 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.7855, allocations: 13.27 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.786, allocations: 164.5 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.7872, allocations: 0.7171 MB / 0.9582 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.7874, allocations: 100.5 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.7874, allocations: 5.219 kB / 0.9583 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.7874, allocations: 31.69 kB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.7875, allocations: 1.219 kB / 0.9583 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.7879, allocations: 182.1 kB / 0.9585 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.788, allocations: 53.06 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.7882, allocations: 212.1 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.7882, allocations: 27.17 kB / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.7882, allocations: 158.9 kB / 0.9589 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.7883, allocations: 32.05 kB / 0.959 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.7883, allocations: 5.188 kB / 0.959 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.7883, allocations: 338.3 kB / 0.9593 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.7885, allocations: 52.34 kB / 0.9594 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.7886, allocations: 94.8 kB / 0.9594 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.7888, allocations: 63.23 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7888, allocations: 0 / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003271/0.7891, allocations: 198.8 kB / 0.9597 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7891, allocations: 5.5 kB / 0.9597 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.7891, allocations: 5.359 kB / 0.9597 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7892, allocations: 2.75 kB / 0.9597 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.7893, allocations: 37 kB / 0.9597 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7894, allocations: 6.75 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.7895, allocations: 17.47 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.7895, allocations: 16.05 kB / 0.9598 GB, free: 3.145 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0001075/0.7896, allocations: 131.4 kB / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.7897, allocations: 16.06 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.79, allocations: 171.6 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.79, allocations: 1.375 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.79, allocations: 0 / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.79, allocations: 3.938 kB / 0.9601 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.7906, allocations: 0.5275 MB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7906, allocations: 0.9062 kB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7908, allocations: 24.83 kB / 0.9606 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7908, allocations: 2.438 kB / 0.9606 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7908, allocations: 5.5 kB / 0.9606 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.7908, allocations: 6.531 kB / 0.9606 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7908, allocations: 3.938 kB / 0.9607 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.7911, allocations: 302.3 kB / 0.9609 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.7912, allocations: 97.83 kB / 0.961 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.7912, allocations: 6.188 kB / 0.961 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.7914, allocations: 23.91 kB / 0.9611 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.7914, allocations: 16.02 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.7914, allocations: 4.094 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001062/0.7915, allocations: 152.8 kB / 0.9612 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7915, allocations: 3.938 kB / 0.9612 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002765/0.7918, allocations: 38.28 kB / 0.9613 GB, free: 1.871 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0004948/0.7923, allocations: 1.046 MB / 0.9623 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.7926, allocations: 129.2 kB / 0.9624 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7926, allocations: 0 / 0.9624 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.7928, allocations: 58.62 kB / 0.9625 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.7931, allocations: 33.5 kB / 0.9625 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.7949, allocations: 1.825 MB / 0.9643 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.7952, allocations: 0.7357 MB / 0.965 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000104/0.7953, allocations: 24.97 kB / 0.965 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.7954, allocations: 59.11 kB / 0.9651 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7954, allocations: 0 / 0.9651 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.8089, allocations: 3.484 MB / 0.9685 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/0.8092, allocations: 251.6 kB / 0.9687 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.549, allocations: 4 kB / 0.9687 GB, free: 12.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat