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.0007486/0.0007486, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008374/0.0008374, allocations: 172.7 kB / 15.95 MB, free: 208 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.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 8 kB / 0.8379 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6428/0.6432, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.0009759/0.6442, allocations: 0.5731 MB / 0.9818 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.6456, allocations: 1.14 MB / 0.9829 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.6456, allocations: 0 / 0.9829 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.6457, allocations: 7.938 kB / 0.9829 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.6457, allocations: 3.938 kB / 0.9829 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.6462, allocations: 133.3 kB / 0.983 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.6463, allocations: 127.7 kB / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.6464, allocations: 33.56 kB / 0.9832 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.002e-05/0.6465, allocations: 43.84 kB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.6466, allocations: 55.75 kB / 0.9833 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.6467, allocations: 8 kB / 0.9833 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.6467, allocations: 15.98 kB / 0.9833 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.6468, allocations: 11.94 kB / 0.9833 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.6468, allocations: 37.7 kB / 0.9833 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.6469, allocations: 121.9 kB / 0.9835 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.647, allocations: 0 / 0.9835 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.805e-06/0.647, allocations: 0 / 0.9835 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.647, allocations: 3.938 kB / 0.9835 GB, free: 3.938 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.0005582/0.6475, allocations: 432.7 kB / 0.9839 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6476, allocations: 11.97 kB / 0.9839 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.6476, allocations: 38.56 kB / 0.9839 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.6477, allocations: 11.91 kB / 0.9839 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.6481, allocations: 238.8 kB / 0.9842 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.6482, allocations: 11.95 kB / 0.9842 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.6482, allocations: 8 kB / 0.9842 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.6484, allocations: 102.8 kB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6484, allocations: 0 / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6485, allocations: 0 / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.6485, allocations: 4 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.6487, allocations: 79.89 kB / 0.9844 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.6493, allocations: 400.6 kB / 0.9847 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.6494, allocations: 66.55 kB / 0.9848 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6496, allocations: 44.95 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.6496, allocations: 3.938 kB / 0.9849 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.6498, allocations: 87.31 kB / 0.9849 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.6498, allocations: 0 / 0.9849 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0003912/0.6502, allocations: 149.5 kB / 0.9851 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.6503, allocations: 51.41 kB / 0.9851 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.6504, allocations: 131.4 kB / 0.9853 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.6504, allocations: 29.7 kB / 0.9853 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.6505, allocations: 111.9 kB / 0.9854 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.6505, allocations: 27.64 kB / 0.9854 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.6505, allocations: 4 kB / 0.9854 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6506, allocations: 318.8 kB / 0.9857 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.6508, allocations: 55.89 kB / 0.9858 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.6509, allocations: 79.39 kB / 0.9859 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.6511, allocations: 77.69 kB / 0.9859 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6511, allocations: 0 / 0.9859 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000391/0.6515, allocations: 207.2 kB / 0.9861 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.6515, allocations: 37.64 kB / 0.9862 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6515, allocations: 4 kB / 0.9862 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6516, allocations: 0 / 0.9862 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.6517, allocations: 15.98 kB / 0.9862 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6517, allocations: 4.094 kB / 0.9862 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.6519, allocations: 43.95 kB / 0.9862 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.6519, allocations: 8 kB / 0.9862 GB, free: 0.8359 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.000102/0.652, allocations: 129.7 kB / 0.9864 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.652, allocations: 15.89 kB / 0.9864 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.6521, allocations: 8.375 kB / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6521, allocations: 0 / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6521, allocations: 0 / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6521, allocations: 4 kB / 0.9864 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.6522, allocations: 205.5 kB / 0.9866 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6522, allocations: 4 kB / 0.9866 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.6523, allocations: 15.98 kB / 0.9866 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6523, allocations: 0 / 0.9866 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.6524, allocations: 11.94 kB / 0.9866 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6524, allocations: 0 / 0.9866 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6524, allocations: 0 / 0.9866 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.6526, allocations: 141 kB / 0.9867 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.6527, allocations: 88.95 kB / 0.9868 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.6527, allocations: 4 kB / 0.9868 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.6528, allocations: 7.984 kB / 0.9868 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.6528, allocations: 8 kB / 0.9868 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.6528, allocations: 0 / 0.9868 GB, free: 108 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.6529, allocations: 101.4 kB / 0.9869 GB, free: 8 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6529, allocations: 0 / 0.9869 GB, free: 8 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000232/0.6531, allocations: 31.95 kB / 0.987 GB, free: 15.97 MB / 0.7481 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.0005458/0.6537, allocations: 0.6903 MB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.654, allocations: 171.3 kB / 0.9878 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.654, allocations: 0 / 0.9878 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.6542, allocations: 44.67 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.6544, allocations: 20.28 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.6556, allocations: 0.7148 MB / 0.9886 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.6559, allocations: 0.6965 MB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.656, allocations: 20.41 kB / 0.9893 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.6561, allocations: 27.44 kB / 0.9893 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.6561, allocations: 3.938 kB / 0.9893 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09762/0.7537, allocations: 2.505 MB / 0.9917 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.7541, allocations: 239.9 kB / 0.992 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.583, allocations: 2.75 kB / 0.992 GB, free: 10.95 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