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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001531/0.001531, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 192.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.356/2.356, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65.52 kB / 0.8993 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2171, allocations: 157.4 MB / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001968/0.2191, allocations: 0.887 MB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2203, allocations: 1.171 MB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.2204, allocations: 8 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.2205, allocations: 7.875 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.2205, allocations: 11.86 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.221, allocations: 147.2 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.2212, allocations: 155.7 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.2213, allocations: 45.56 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.2214, allocations: 59.84 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.2215, allocations: 59.75 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.2215, allocations: 12 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.2216, allocations: 31.98 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.2216, allocations: 27.84 kB / 1.056 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.2217, allocations: 63.72 kB / 1.056 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2219, allocations: 167.8 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2219, allocations: 3.938 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2219, allocations: 0 / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2219, allocations: 0 / 1.056 GB, free: 5.316 MB / 0.8106 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.0005495/0.2225, allocations: 440.9 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2225, allocations: 16.02 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.2226, allocations: 42.75 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.2226, allocations: 12.75 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.223, allocations: 232.3 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2231, allocations: 12.31 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.2231, allocations: 16.38 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2233, allocations: 93.77 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2233, allocations: 8 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2233, allocations: 4 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2234, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.2236, allocations: 61.16 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.224, allocations: 400.3 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2242, allocations: 66.48 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2243, allocations: 40.89 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2244, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.2246, allocations: 83.36 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2246, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003994/0.225, allocations: 137.5 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.225, allocations: 55.34 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.2251, allocations: 135.8 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2251, allocations: 29.7 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2252, allocations: 107.9 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2252, allocations: 27.69 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.2253, allocations: 37.7 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.2254, allocations: 318.8 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2255, allocations: 47.97 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.2257, allocations: 75.39 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.2259, allocations: 129 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.226, allocations: 7.938 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003843/0.2263, allocations: 191.1 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.2264, allocations: 37.62 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2264, allocations: 4 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2264, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.2265, allocations: 19.98 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2265, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.2267, allocations: 39.91 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.2267, allocations: 11.98 kB / 1.059 GB, free: 2.152 MB / 0.8106 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 8.193e-05/0.2268, allocations: 131.3 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.2269, allocations: 11.84 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.2269, allocations: 8.375 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2269, allocations: 0 / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2269, allocations: 7.984 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2269, allocations: 0 / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2271, allocations: 193.6 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2271, allocations: 3.984 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.2271, allocations: 8 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2272, allocations: 3.938 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2272, allocations: 4 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2272, allocations: 3.984 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2272, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.2274, allocations: 137.3 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.2275, allocations: 85.02 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2275, allocations: 11.92 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.2276, allocations: 4 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.2276, allocations: 7.984 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2276, allocations: 8 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.2277, allocations: 95.27 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2277, allocations: 4 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002242/0.2279, allocations: 27.94 kB / 1.059 GB, free: 1.316 MB / 0.8106 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.0004809/0.2284, allocations: 0.6787 MB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.2287, allocations: 175.3 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2287, allocations: 0 / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.2289, allocations: 35.97 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2291, allocations: 27.91 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.2308, allocations: 1.637 MB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.231, allocations: 0.6924 MB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.569e-05/0.2311, allocations: 16.42 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.2312, allocations: 29.67 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2312, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.622/1.853, allocations: 2.809 MB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.58, allocations: 14.81 kB / 1.065 GB, free: 11.22 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches