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.001213/0.001213, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001181/0.00118, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.185/1.185, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.383/2.383, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 60.3 kB / 0.8988 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2295, allocations: 157.4 MB / 1.052 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00203/0.2315, allocations: 0.9387 MB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2327, allocations: 1.163 MB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.2328, allocations: 4 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.2328, allocations: 7.922 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.494e-05/0.2329, allocations: 7.875 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.2333, allocations: 138.9 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2335, allocations: 155.7 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2337, allocations: 53.5 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2338, allocations: 67.77 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.2339, allocations: 55.75 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2339, allocations: 16 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.675e-05/0.234, allocations: 27.98 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.234, allocations: 15.94 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.2341, allocations: 67.7 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.2343, allocations: 159.8 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2343, allocations: 11.94 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2343, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2343, allocations: 0 / 1.055 GB, free: 5.668 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.0005518/0.2349, allocations: 434.5 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2349, allocations: 12.03 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.2349, allocations: 34.75 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.235, allocations: 16.75 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.2354, allocations: 236.3 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2355, allocations: 12.38 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.2355, allocations: 12.38 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.2357, allocations: 93.77 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2357, allocations: 8 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2357, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2359, allocations: 67.89 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.2364, allocations: 404.3 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2366, allocations: 70.48 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.2367, allocations: 32.97 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2367, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.2369, allocations: 83.36 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2369, allocations: 4 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000379/0.2373, allocations: 149.6 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2374, allocations: 51.41 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.2375, allocations: 132.2 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.2375, allocations: 25.7 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.2375, allocations: 107.9 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.2376, allocations: 23.7 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.2376, allocations: 41.7 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.2377, allocations: 318.8 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2379, allocations: 43.97 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.238, allocations: 75.39 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2383, allocations: 129 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2383, allocations: 7.938 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003919/0.2387, allocations: 195.1 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.2387, allocations: 47.3 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2387, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.2388, allocations: 4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.2389, allocations: 19.92 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2389, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2391, allocations: 39.8 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.2391, allocations: 8 kB / 1.058 GB, free: 2.512 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.381e-05/0.2392, allocations: 125.9 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2392, allocations: 11.84 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.2393, allocations: 16.36 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2393, allocations: 3.984 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2393, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2393, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2394, allocations: 193.6 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2394, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.2395, allocations: 15.98 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2395, allocations: 7.938 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2395, allocations: 4 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2396, allocations: 7.938 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2396, allocations: 4 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.2398, allocations: 125 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.2399, allocations: 85.02 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2399, allocations: 3.938 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.2399, allocations: 8 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.24, allocations: 15.97 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.24, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.2401, allocations: 95.27 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2401, allocations: 0 / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002201/0.2403, allocations: 35.94 kB / 1.059 GB, free: 1.672 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.0005062/0.2408, allocations: 0.6786 MB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.2411, allocations: 163.3 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2411, allocations: 0 / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.2413, allocations: 48.09 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2415, allocations: 22.59 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.2432, allocations: 1.66 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2435, allocations: 0.6963 MB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.2435, allocations: 8.438 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.2436, allocations: 35.36 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2436, allocations: 0 / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.813/3.057, allocations: 2.69 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/3.057, allocations: 248.2 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/4.74, allocations: 0 / 1.065 GB, free: 11.48 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