Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",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.181/2.181, allocations: 387.4 MB / 394.9 MB, free: 13.45 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.001071/0.001071, allocations: 176.8 kB / 487.4 MB, free: 5.078 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.338/1.338, allocations: 221.5 MB / 0.7824 GB, free: 1 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.0009743/0.0009743, allocations: 95.73 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.907e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1964, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.766/0.9625, allocations: 150.3 MB / 1.353 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.9628, allocations: 81.14 kB / 1.353 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.9813, allocations: 8.333 MB / 1.361 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9814, allocations: 0 / 1.361 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.9814, allocations: 19.53 kB / 1.361 GB, free: 33.35 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001029/0.9824, allocations: 0.8044 MB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.9825, allocations: 7.688 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.9826, allocations: 77.81 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.9834, allocations: 0.565 MB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.9835, allocations: 19.38 kB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.9835, allocations: 42.59 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000554/0.9841, allocations: 383.6 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.9847, allocations: 417 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.9847, allocations: 0 / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.9848, allocations: 0 / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.9848, allocations: 15.47 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.9868, allocations: 1.537 MB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.9872, allocations: 174 kB / 1.365 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.9873, allocations: 84.95 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.9873, allocations: 4.062 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.9873, allocations: 30.75 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.9874, allocations: 0 / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003125/0.9877, allocations: 196.3 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.9877, allocations: 51.41 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.988, allocations: 396.5 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.9881, allocations: 29.7 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.9882, allocations: 370.8 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.9883, allocations: 76.39 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.9883, allocations: 0 / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9884, allocations: 352.8 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.9886, allocations: 90 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.9887, allocations: 213.9 kB / 1.367 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.9889, allocations: 111.4 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9889, allocations: 0 / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003937/0.9893, allocations: 343.6 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.9893, allocations: 7.656 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9893, allocations: 7.875 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9893, allocations: 11.62 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.9897, allocations: 91.92 kB / 1.367 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.9897, allocations: 11.75 kB / 1.367 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.99, allocations: 46.97 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.99, allocations: 22.5 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.damLim.noZerMin.greHys.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.noZerMin.greHys.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.606e-05/0.9901, allocations: 130.5 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002209/0.9903, allocations: 184.4 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.9904, allocations: 42.69 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.9907, allocations: 213.1 kB / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9907, allocations: 7.812 kB / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9907, allocations: 0 / 1.368 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9907, allocations: 7 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.9915, allocations: 0.7695 MB / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.9915, allocations: 0 / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.9917, allocations: 58.69 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9917, allocations: 3.844 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.9917, allocations: 3.938 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9917, allocations: 7.766 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.9917, allocations: 10.66 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.992, allocations: 410.5 kB / 1.369 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.9921, allocations: 121.4 kB / 1.369 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.9922, allocations: 6.875 kB / 1.369 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.9924, allocations: 25.36 kB / 1.369 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.9925, allocations: 25.28 kB / 1.369 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.9925, allocations: 13.94 kB / 1.369 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000218/0.9927, allocations: 277.3 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9927, allocations: 0 / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003649/0.9931, allocations: 100.6 kB / 1.37 GB, free: 29.69 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0006772/0.9938, allocations: 1.369 MB / 1.371 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.9941, allocations: 225.8 kB / 1.371 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9941, allocations: 0 / 1.371 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.9942, allocations: 86.28 kB / 1.371 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.9949, allocations: 182.2 kB / 1.372 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.9959, allocations: 0.6682 MB / 1.372 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.9963, allocations: 0.8804 MB / 1.373 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000239/0.9966, allocations: 59.47 kB / 1.373 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.9968, allocations: 208.8 kB / 1.373 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9968, allocations: 0 / 1.373 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/1.025, allocations: 8.093 MB / 1.381 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/1.025, allocations: 212.2 kB / 1.381 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.963, allocations: 0 / 1.381 GB, free: 25.31 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat does not exist to compare? outputFormat=mat