Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008415/0.0008415, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004978/0.004978, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 8 kB / 0.873 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.508, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.0008816/0.5089, allocations: 0.583 MB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.5102, allocations: 1.163 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.5102, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.5102, allocations: 7.922 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.5103, allocations: 15.92 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.5108, allocations: 135.2 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.5109, allocations: 139.7 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.511, allocations: 53.53 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.5111, allocations: 47.83 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.5112, allocations: 43.77 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.5112, allocations: 8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.5113, allocations: 19.98 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.5113, allocations: 11.94 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.5114, allocations: 77.34 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.5116, allocations: 153.8 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.5116, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5116, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5116, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 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.000458/0.5121, allocations: 424.8 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.5121, allocations: 12.03 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.5121, allocations: 38.73 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.5122, allocations: 12.84 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.5126, allocations: 244.3 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5126, allocations: 12.31 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5127, allocations: 8.375 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.5129, allocations: 103.3 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.5129, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5129, allocations: 11.98 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5129, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.5131, allocations: 67.95 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.5136, allocations: 400.3 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.5138, allocations: 70.55 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.5139, allocations: 44.89 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.5139, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.5141, allocations: 87.38 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.5141, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003878/0.5145, allocations: 149.5 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5145, allocations: 55.41 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.5146, allocations: 136.4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5147, allocations: 29.7 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.5147, allocations: 107.9 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.5148, allocations: 23.66 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.5148, allocations: 25.7 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.5149, allocations: 318.8 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.515, allocations: 51.97 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.5152, allocations: 83.33 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.5155, allocations: 137 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5155, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000388/0.5159, allocations: 207.2 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.5159, allocations: 41.62 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5159, allocations: 3.938 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5159, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.516, allocations: 19.98 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.516, allocations: 400 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.5162, allocations: 47.91 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.5163, allocations: 11.98 kB / 1.028 GB, free: 10.15 MB / 0.7794 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.669e-05/0.5164, allocations: 125.8 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.5164, allocations: 11.84 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.5164, allocations: 16.38 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5164, allocations: 0 / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5164, allocations: 0 / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5164, allocations: 3.984 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.5166, allocations: 193.6 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5166, allocations: 0 / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.5167, allocations: 15.98 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5167, allocations: 3.938 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.5167, allocations: 4 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5167, allocations: 7.969 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5167, allocations: 4 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.517, allocations: 140.9 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.517, allocations: 85.02 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.517, allocations: 8.016 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.5171, allocations: 19.92 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.5171, allocations: 3.984 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5172, allocations: 4 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.5172, allocations: 99.27 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5172, allocations: 0 / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002107/0.5174, allocations: 28 kB / 1.029 GB, free: 9.293 MB / 0.7794 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.0005021/0.5179, allocations: 0.6826 MB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.5183, allocations: 179.3 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5183, allocations: 0 / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.5184, allocations: 47.91 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.5186, allocations: 20.17 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.5204, allocations: 1.683 MB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.5206, allocations: 0.6965 MB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.101e-05/0.5206, allocations: 8.438 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.5207, allocations: 35.42 kB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5207, allocations: 0 / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/1.866, allocations: 2.529 MB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.866, allocations: 254.2 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/3.458, allocations: 4 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches