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.0007629/0.0007629, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008523/0.0008521, allocations: 168.7 kB / 15.95 MB, free: 204 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.37/1.37, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.212/2.212, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 15.98 kB / 0.8379 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.521, allocations: 146.8 MB / 0.9813 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001046/0.5221, allocations: 0.8156 MB / 0.9821 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.5231, allocations: 0.9871 MB / 0.983 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.5232, allocations: 7.938 kB / 0.983 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.832e-05/0.5233, allocations: 15.86 kB / 0.983 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.5233, allocations: 23.78 kB / 0.9831 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.5235, allocations: 59.92 kB / 0.9831 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.5237, allocations: 223.4 kB / 0.9833 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.5238, allocations: 82.09 kB / 0.9834 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.5239, allocations: 51.72 kB / 0.9835 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.5239, allocations: 71.56 kB / 0.9835 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.524, allocations: 8 kB / 0.9835 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.524, allocations: 8 kB / 0.9835 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.524, allocations: 23.86 kB / 0.9836 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.524, allocations: 57.62 kB / 0.9836 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.5242, allocations: 257.5 kB / 0.9839 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.5242, allocations: 4 kB / 0.9839 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.81e-07/0.5242, allocations: 0 / 0.9839 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5242, allocations: 0 / 0.9839 GB, free: 3.535 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.0004669/0.5247, allocations: 479 kB / 0.9843 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.5247, allocations: 12.03 kB / 0.9843 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.5248, allocations: 58.48 kB / 0.9844 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.5248, allocations: 23.72 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.5252, allocations: 276.6 kB / 0.9847 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.5252, allocations: 16.44 kB / 0.9847 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5252, allocations: 16 kB / 0.9847 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.5255, allocations: 229.7 kB / 0.9849 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.5256, allocations: 0 / 0.9849 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.5256, allocations: 12 kB / 0.9849 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5256, allocations: 8 kB / 0.985 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.5259, allocations: 165 kB / 0.9851 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.5267, allocations: 0.7166 MB / 0.9858 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.5269, allocations: 94.55 kB / 0.9859 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.527, allocations: 48.83 kB / 0.9859 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.527, allocations: 4.188 kB / 0.9859 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.527, allocations: 42.5 kB / 0.986 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.527, allocations: 0 / 0.986 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003783/0.5274, allocations: 181.6 kB / 0.9862 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.5275, allocations: 55.41 kB / 0.9862 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.5276, allocations: 211.2 kB / 0.9864 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5276, allocations: 29.8 kB / 0.9864 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.5277, allocations: 167.7 kB / 0.9866 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.5278, allocations: 35.47 kB / 0.9866 GB, free: 484 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.5278, allocations: 4 kB / 0.9866 GB, free: 480 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.5279, allocations: 330.8 kB / 0.987 GB, free: 140 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.528, allocations: 43.97 kB / 0.987 GB, free: 96 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.5281, allocations: 98.69 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.5283, allocations: 63.92 kB / 0.9872 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5283, allocations: 0 / 0.9872 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003247/0.5286, allocations: 185.3 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.5286, allocations: 8 kB / 0.9873 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.5286, allocations: 4.156 kB / 0.9873 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.5286, allocations: 4 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.5288, allocations: 31.98 kB / 0.9874 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5288, allocations: 3.953 kB / 0.9874 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.5289, allocations: 27.83 kB / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.5289, allocations: 4 kB / 0.9874 GB, free: 15.65 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 9.255e-05/0.529, allocations: 129.8 kB / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.5291, allocations: 27.7 kB / 0.9876 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.5294, allocations: 170.9 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5294, allocations: 0 / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.5294, allocations: 0 / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.5294, allocations: 3.953 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.53, allocations: 0.5241 MB / 0.9882 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.53, allocations: 0 / 0.9882 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.5301, allocations: 28.08 kB / 0.9883 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5301, allocations: 7.953 kB / 0.9883 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.5302, allocations: 4 kB / 0.9883 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5302, allocations: 7.984 kB / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5302, allocations: 3.938 kB / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.5305, allocations: 257.8 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.5305, allocations: 96.91 kB / 0.9886 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.5305, allocations: 3.953 kB / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.5307, allocations: 27.98 kB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.5307, allocations: 7.984 kB / 0.9887 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.5307, allocations: 8.031 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000119/0.5308, allocations: 164.6 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5309, allocations: 0 / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002427/0.5311, allocations: 35.84 kB / 0.9889 GB, free: 14.04 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.000513/0.5316, allocations: 0.8125 MB / 0.9897 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.5319, allocations: 120 kB / 0.9898 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5319, allocations: 0 / 0.9898 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.532, allocations: 60.3 kB / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.5323, allocations: 45.28 kB / 0.9899 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.5338, allocations: 1.076 MB / 0.9909 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.534, allocations: 0.7323 MB / 0.9916 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.281e-05/0.5341, allocations: 25.53 kB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.5342, allocations: 59.42 kB / 0.9917 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.5342, allocations: 0 / 0.9917 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/1.536, allocations: 3.497 MB / 0.9951 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/1.536, allocations: 265.8 kB / 0.9954 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.379, allocations: 4 kB / 0.9954 GB, free: 7.375 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