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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001018/0.001017, allocations: 195.6 kB / 16.14 MB, free: 6.648 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 461.8 MB / 0.7342 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 69.8 kB / 0.8986 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2472, allocations: 157.4 MB / 1.052 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00192/0.2491, allocations: 0.9465 MB / 1.053 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2504, allocations: 1.178 MB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.2505, allocations: 0 / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.2506, allocations: 7.922 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.2507, allocations: 19.86 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.2511, allocations: 123.3 kB / 1.054 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.2512, allocations: 139.7 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2513, allocations: 45.56 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.2514, allocations: 55.83 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2515, allocations: 55.75 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.2515, allocations: 8 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.2516, allocations: 27.92 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.2517, allocations: 19.92 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.2517, allocations: 59.7 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2519, allocations: 163.7 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2519, allocations: 0 / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2519, allocations: 0 / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.2519, allocations: 0 / 1.055 GB, free: 5.238 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.000563/0.2525, allocations: 436.9 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2525, allocations: 8.031 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.2526, allocations: 50.69 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.2526, allocations: 16.75 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.2531, allocations: 232.2 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2531, allocations: 12.38 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.2531, allocations: 12.38 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2533, allocations: 93.77 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2534, allocations: 4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2534, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2534, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2536, allocations: 55.95 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.2541, allocations: 400.3 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2542, allocations: 66.48 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2543, allocations: 36.95 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2544, allocations: 4 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.2546, allocations: 79.38 kB / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.2546, allocations: 0 / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000384/0.255, allocations: 145.4 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.255, allocations: 51.41 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.2551, allocations: 136.5 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2551, allocations: 29.7 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.2552, allocations: 107.9 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2552, allocations: 23.7 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.2553, allocations: 37.7 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.2554, allocations: 318.8 kB / 1.057 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2556, allocations: 47.97 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.2557, allocations: 75.39 kB / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.256, allocations: 133 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.256, allocations: 4 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003864/0.2564, allocations: 203.1 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.2564, allocations: 42.73 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2564, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.2564, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.2565, allocations: 15.98 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2566, allocations: 4 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2567, allocations: 35.91 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.2568, allocations: 11.98 kB / 1.058 GB, free: 2.082 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 9.205e-05/0.2569, allocations: 125.8 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.2569, allocations: 11.84 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2569, allocations: 8.375 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2569, allocations: 3.984 kB / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2569, allocations: 4 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.257, allocations: 4 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2571, allocations: 189.6 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2571, allocations: 3.984 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.2572, allocations: 8 kB / 1.058 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2572, allocations: 7.922 kB / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2572, allocations: 15.98 kB / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2572, allocations: 0 / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2572, allocations: 0 / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2575, allocations: 136.9 kB / 1.058 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2575, allocations: 81.02 kB / 1.058 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2575, allocations: 7.922 kB / 1.058 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.2576, allocations: 4 kB / 1.058 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.2576, allocations: 7.984 kB / 1.058 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2576, allocations: 8 kB / 1.058 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.2577, allocations: 95.27 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2577, allocations: 4 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002097/0.2579, allocations: 31.94 kB / 1.059 GB, free: 1.242 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.0005072/0.2584, allocations: 0.6761 MB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.2588, allocations: 167.8 kB / 1.059 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2588, allocations: 4 kB / 1.059 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2589, allocations: 36.06 kB / 1.059 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.2591, allocations: 26.36 kB / 1.059 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.2609, allocations: 1.647 MB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2612, allocations: 0.6965 MB / 1.062 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.62e-05/0.2612, allocations: 12.42 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.2613, allocations: 34.09 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.2613, allocations: 0 / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6617/0.923, allocations: 2.599 MB / 1.064 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.9232, allocations: 253.2 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.456, allocations: 3.938 kB / 1.065 GB, free: 11.12 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