Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.001647/0.001647, allocations: 100 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.001834/0.001834, 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 2.428/2.428, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.781/4.781, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006221/0.0006223, allocations: 12 kB / 0.8376 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694/1.694, allocations: 146.8 MB / 0.981 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001967/1.696, allocations: 0.8148 MB / 0.9818 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002148/1.699, allocations: 0.995 MB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/1.699, allocations: 11.88 kB / 0.9828 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/1.699, allocations: 11.86 kB / 0.9828 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/1.699, allocations: 35.88 kB / 0.9828 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/1.699, allocations: 67.92 kB / 0.9829 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/1.7, allocations: 151.7 kB / 0.983 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/1.7, allocations: 82.11 kB / 0.9831 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/1.7, allocations: 51.77 kB / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/1.7, allocations: 59.64 kB / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.7, allocations: 7.938 kB / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-05/1.7, allocations: 8 kB / 0.9832 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/1.701, allocations: 27.84 kB / 0.9833 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/1.701, allocations: 57.58 kB / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/1.701, allocations: 261.5 kB / 0.9836 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.701, allocations: 0 / 0.9836 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.486e-06/1.701, allocations: 0 / 0.9836 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.447e-05/1.701, allocations: 0 / 0.9836 GB, free: 3.625 MB / 0.7325 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.001015/1.702, allocations: 487 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/1.702, allocations: 8.031 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.126e-05/1.702, allocations: 54.55 kB / 0.9841 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/1.702, allocations: 23.72 kB / 0.9841 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/1.703, allocations: 272.6 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/1.703, allocations: 16.44 kB / 0.9844 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/1.703, allocations: 16 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/1.704, allocations: 233.7 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.704, allocations: 0 / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/1.704, allocations: 12 kB / 0.9846 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/1.704, allocations: 4 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/1.704, allocations: 165 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/1.706, allocations: 0.7166 MB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/1.706, allocations: 98.53 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/1.706, allocations: 0 / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/1.706, allocations: 38.55 kB / 0.9856 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/1.706, allocations: 4 kB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006641/1.707, allocations: 177.6 kB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/1.707, allocations: 55.36 kB / 0.9858 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/1.707, allocations: 215.2 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.707, allocations: 29.7 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.707, allocations: 155.8 kB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/1.707, allocations: 35.45 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/1.707, allocations: 8.375 kB / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.708, allocations: 326.8 kB / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/1.708, allocations: 51.91 kB / 0.9866 GB, free: 248 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.708, allocations: 94.83 kB / 0.9867 GB, free: 136 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.708, allocations: 59.92 kB / 0.9868 GB, free: 76 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.708, allocations: 0 / 0.9868 GB, free: 76 kB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005704/1.709, allocations: 193.3 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.709, allocations: 8 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.709, allocations: 0 / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.709, allocations: 4 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/1.709, allocations: 48.06 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/1.709, allocations: 7.953 kB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/1.709, allocations: 19.84 kB / 0.987 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.709, allocations: 4 kB / 0.987 GB, free: 15.79 MB / 0.7481 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.0001918/1.71, allocations: 139 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/1.71, allocations: 19.72 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/1.71, allocations: 163 kB / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.71, allocations: 0 / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.71, allocations: 3.984 kB / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.71, allocations: 3.953 kB / 0.9874 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.711, allocations: 0.5241 MB / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.711, allocations: 0 / 0.9879 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/1.712, allocations: 31.92 kB / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.712, allocations: 96 / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.712, allocations: 15.95 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.712, allocations: 0 / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.712, allocations: 0 / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/1.712, allocations: 302.9 kB / 0.9882 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/1.712, allocations: 96.91 kB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/1.712, allocations: 4 kB / 0.9883 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.713, allocations: 19.98 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/1.713, allocations: 11.98 kB / 0.9883 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.713, allocations: 4 kB / 0.9883 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001897/1.713, allocations: 156.6 kB / 0.9885 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/1.713, allocations: 0 / 0.9885 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000448/1.713, allocations: 39.84 kB / 0.9885 GB, free: 14.13 MB / 0.7481 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.0009994/1.714, allocations: 1.051 MB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004384/1.715, allocations: 131.9 kB / 0.9897 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.715, allocations: 0 / 0.9897 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/1.715, allocations: 55.91 kB / 0.9897 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/1.715, allocations: 35.88 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/1.718, allocations: 1.829 MB / 0.9916 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/1.719, allocations: 0.7362 MB / 0.9923 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001555/1.719, allocations: 25.53 kB / 0.9923 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.719, allocations: 59.42 kB / 0.9924 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.719, allocations: 0 / 0.9924 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/1.74, allocations: 3.485 MB / 0.9958 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/1.741, allocations: 251.7 kB / 0.996 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/4.467, allocations: 0 / 0.996 GB, free: 6.496 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat