Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.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.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_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.001642/0.001642, allocations: 100.1 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.001377/0.001377, 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.223/2.223, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.462/4.462, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006514, allocations: 8 kB / 0.8376 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214/1.214, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00208/1.217, allocations: 0.568 MB / 0.9815 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002836/1.219, allocations: 1.132 MB / 0.9826 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/1.22, allocations: 0 / 0.9826 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.44e-05/1.22, allocations: 3.938 kB / 0.9826 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/1.22, allocations: 19.95 kB / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/1.221, allocations: 118.6 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/1.221, allocations: 79.84 kB / 0.9828 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/1.221, allocations: 41.55 kB / 0.9829 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/1.221, allocations: 39.91 kB / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/1.222, allocations: 47.77 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/1.222, allocations: 7.984 kB / 0.983 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/1.222, allocations: 15.98 kB / 0.983 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/1.222, allocations: 11.94 kB / 0.983 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/1.222, allocations: 37.7 kB / 0.983 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/1.222, allocations: 133.9 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.222, allocations: 0 / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.45e-06/1.222, allocations: 0 / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.32e-05/1.222, allocations: 3.938 kB / 0.9831 GB, free: 4.016 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001019/1.223, allocations: 432.6 kB / 0.9836 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/1.223, allocations: 8.031 kB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.769e-05/1.223, allocations: 38.56 kB / 0.9836 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/1.224, allocations: 15.91 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/1.224, allocations: 230.8 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/1.224, allocations: 15.95 kB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/1.224, allocations: 8 kB / 0.9839 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/1.225, allocations: 101.6 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.225, allocations: 0 / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/1.225, allocations: 8 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.225, allocations: 0 / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/1.225, allocations: 71.91 kB / 0.984 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/1.226, allocations: 400.6 kB / 0.9844 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/1.227, allocations: 66.55 kB / 0.9845 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/1.227, allocations: 4 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/1.227, allocations: 87.42 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.405e-06/1.227, allocations: 0 / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.000749/1.228, allocations: 145.5 kB / 0.9847 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/1.228, allocations: 59.39 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/1.228, allocations: 127.1 kB / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.228, allocations: 33.7 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/1.228, allocations: 111.9 kB / 0.985 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/1.228, allocations: 19.66 kB / 0.985 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/1.228, allocations: 4 kB / 0.985 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.229, allocations: 322.8 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/1.229, allocations: 55.91 kB / 0.9854 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/1.229, allocations: 83.39 kB / 0.9855 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/1.229, allocations: 73.67 kB / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.23, allocations: 0 / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007342/1.23, allocations: 215.1 kB / 0.9858 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.23, allocations: 37.69 kB / 0.9858 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.23, allocations: 0 / 0.9858 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/1.231, allocations: 0 / 0.9858 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/1.231, allocations: 28.02 kB / 0.9858 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.231, allocations: 0 / 0.9858 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/1.231, allocations: 39.97 kB / 0.9859 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/1.231, allocations: 11.98 kB / 0.9859 GB, free: 0.957 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001717/1.231, allocations: 129.7 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/1.231, allocations: 7.906 kB / 0.986 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/1.231, allocations: 8.375 kB / 0.986 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.231, allocations: 4 kB / 0.986 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.232, allocations: 0 / 0.986 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/1.232, allocations: 3.984 kB / 0.986 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/1.232, allocations: 209.5 kB / 0.9862 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.232, allocations: 0 / 0.9862 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/1.232, allocations: 19.98 kB / 0.9862 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.232, allocations: 0 / 0.9862 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.232, allocations: 0 / 0.9862 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.232, allocations: 0 / 0.9862 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.232, allocations: 7.984 kB / 0.9862 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/1.232, allocations: 137 kB / 0.9864 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/1.233, allocations: 84.95 kB / 0.9865 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/1.233, allocations: 4 kB / 0.9865 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/1.233, allocations: 11.98 kB / 0.9865 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/1.233, allocations: 7.984 kB / 0.9865 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/1.233, allocations: 0 / 0.9865 GB, free: 240 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001576/1.233, allocations: 100.5 kB / 0.9866 GB, free: 140 kB / 0.7325 GB Notification: Performance of sort global known variables: time 4.11e-07/1.233, allocations: 0 / 0.9866 GB, free: 140 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000421/1.233, allocations: 31.91 kB / 0.9866 GB, free: 108 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001038/1.234, allocations: 0.6918 MB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005867/1.235, allocations: 171.3 kB / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.235, allocations: 0 / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/1.235, allocations: 44.11 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/1.236, allocations: 19.92 kB / 0.9875 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/1.237, allocations: 0.9018 MB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.237, allocations: 0.7043 MB / 0.9891 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.907e-05/1.238, allocations: 12.42 kB / 0.9891 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/1.238, allocations: 27.42 kB / 0.9891 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of SimCode: time 9.11e-07/1.238, allocations: 0 / 0.9891 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/1.265, allocations: 2.461 MB / 0.9915 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006433/1.266, allocations: 227.2 kB / 0.9917 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.171, allocations: 0 / 0.9917 GB, free: 10.93 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.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.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat