Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007005/0.0007005, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007677/0.0007677, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8966/0.8966, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.833e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001977/0.002005, allocations: 0.8453 MB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003401, allocations: 1.186 MB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.003479, allocations: 0 / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.003519, allocations: 11.88 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.003601, allocations: 23.8 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.004096, allocations: 153.2 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.00431, allocations: 155.6 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.004459, allocations: 37.73 kB / 0.9834 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.004597, allocations: 91.86 kB / 0.9835 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.004686, allocations: 43.86 kB / 0.9835 GB, free: 0 / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.00473, allocations: 16.05 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.004799, allocations: 31.94 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.00483, allocations: 19.92 kB / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.004889, allocations: 43.91 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.005122, allocations: 187.4 kB / 0.9838 GB, free: 15.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.005126, allocations: 4 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005128, allocations: 0 / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.005132, allocations: 0 / 0.9838 GB, free: 15.7 MB / 0.948 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.0005672/0.0057, allocations: 367.6 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.00574, allocations: 8.031 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.005772, allocations: 50.67 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.005815, allocations: 16.89 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.006185, allocations: 169.7 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.006203, allocations: 8.375 kB / 0.9844 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.006223, allocations: 12.38 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.006389, allocations: 94.16 kB / 0.9845 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.006398, allocations: 4.125 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.006413, allocations: 12.12 kB / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006419, allocations: 4 kB / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.006542, allocations: 59.95 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.006986, allocations: 339.7 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.007104, allocations: 54.56 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.007164, allocations: 36.95 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.007184, allocations: 8 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.00737, allocations: 83.3 kB / 0.9851 GB, free: 14.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.007372, allocations: 4 kB / 0.9851 GB, free: 14.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002791/0.007651, allocations: 133.7 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.007685, allocations: 55.34 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.00777, allocations: 140.7 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.007789, allocations: 29.7 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.007847, allocations: 112 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.007867, allocations: 23.78 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.007918, allocations: 37.7 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.743e-05/0.007996, allocations: 322.8 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.008103, allocations: 77.61 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.008204, allocations: 105 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.00835, allocations: 133 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.008354, allocations: 4 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002502/0.008604, allocations: 224.9 kB / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.008636, allocations: 37.69 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.008641, allocations: 0 / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008653, allocations: 0 / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.008723, allocations: 27.95 kB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008729, allocations: 4 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.008832, allocations: 35.92 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.008847, allocations: 7.984 kB / 0.9865 GB, free: 12.66 MB / 0.948 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,fanStatus.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.008923, allocations: 125.8 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.008935, allocations: 7.953 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.00896, allocations: 8.438 kB / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.008963, allocations: 8 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.008969, allocations: 4.031 kB / 0.9867 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.008974, allocations: 7.922 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.009082, allocations: 156.7 kB / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009082, allocations: 0 / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.009122, allocations: 19.92 kB / 0.9868 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.009124, allocations: 0 / 0.9868 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.009131, allocations: 4 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009133, allocations: 0 / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.009135, allocations: 3.938 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.009301, allocations: 141 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.009312, allocations: 7.953 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.009324, allocations: 0 / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.581e-05/0.00935, allocations: 11.98 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.009384, allocations: 11.92 kB / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.009389, allocations: 0 / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.009428, allocations: 99.27 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.009428, allocations: 4 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001581/0.009586, allocations: 27.88 kB / 0.9871 GB, free: 11.95 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003718/0.009958, allocations: 0.6719 MB / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.0102, allocations: 189 kB / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.0102, allocations: 0 / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.01026, allocations: 35.91 kB / 0.988 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.01043, allocations: 28.11 kB / 0.988 GB, free: 10.99 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.01178, allocations: 1.754 MB / 0.9897 GB, free: 9.102 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.275e-05/0.01183, allocations: 92.25 kB / 0.9898 GB, free: 8.988 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.01187, allocations: 4.5 kB / 0.9898 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.01192, allocations: 32.48 kB / 0.9899 GB, free: 8.953 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.01192, allocations: 4 kB / 0.9899 GB, free: 8.949 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.02917, allocations: 3.643 MB / 0.9934 GB, free: 5.543 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.759, allocations: 7.984 kB / 0.9934 GB, free: 5.535 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.824840558692813]