Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00715/0.00715, allocations: 104 kB / 15.73 MB, free: 6.043 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.00171/0.00171, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7214, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001773/0.7232, allocations: 0.8786 MB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.7243, allocations: 1.153 MB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.7243, allocations: 5.188 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.7244, allocations: 9.891 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.7245, allocations: 15.23 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.7249, allocations: 139.9 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.7251, allocations: 155.4 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.7252, allocations: 54.59 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.7253, allocations: 56.03 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.7254, allocations: 64.73 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.7255, allocations: 13.91 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.7255, allocations: 32.77 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.7256, allocations: 23.75 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.7256, allocations: 63.25 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.7259, allocations: 172.9 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7259, allocations: 0.5625 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7259, allocations: 3.938 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7259, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 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.0005041/0.7264, allocations: 439.2 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.7264, allocations: 13.56 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.7265, allocations: 43.88 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.7265, allocations: 16.88 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.7269, allocations: 227.8 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.727, allocations: 6.656 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.727, allocations: 13.12 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.7272, allocations: 99.53 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.7272, allocations: 1.797 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.7273, allocations: 4.734 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7273, allocations: 2.062 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.7275, allocations: 68.66 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.7279, allocations: 394.8 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.7281, allocations: 69.31 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.7282, allocations: 32.7 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7283, allocations: 5.156 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.7285, allocations: 83.31 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.7285, allocations: 0 / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004437/0.7289, allocations: 133.5 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.729, allocations: 57.52 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.7291, allocations: 135.7 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.7291, allocations: 31.7 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.7291, allocations: 110 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.7292, allocations: 24.67 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.7292, allocations: 38.62 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.7293, allocations: 319.7 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.7294, allocations: 46.38 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.7296, allocations: 75.58 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.7299, allocations: 127.4 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7299, allocations: 4.906 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004082/0.7303, allocations: 201.2 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.7303, allocations: 38.16 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7303, allocations: 0.9062 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7304, allocations: 2.859 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7305, allocations: 18 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7305, allocations: 2.438 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.7307, allocations: 40.95 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.7307, allocations: 11.19 kB / 1.093 GB, free: 1.195 MB / 0.8575 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.008e-05/0.7308, allocations: 117.8 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.7308, allocations: 15.94 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.7309, allocations: 11.17 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7309, allocations: 1.797 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7309, allocations: 0.9375 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7309, allocations: 0.7969 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.731, allocations: 204.5 kB / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.731, allocations: 1.125 kB / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.7311, allocations: 16.91 kB / 1.093 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7311, allocations: 4.625 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.7311, allocations: 1.453 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7311, allocations: 4.625 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7311, allocations: 0.625 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.7314, allocations: 125.4 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.7314, allocations: 87.92 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.7315, allocations: 6.141 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.7315, allocations: 9.969 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.7316, allocations: 5.781 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.7316, allocations: 2.094 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.7316, allocations: 99.5 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7316, allocations: 0 / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002335/0.7319, allocations: 23.14 kB / 1.094 GB, free: 0.5586 MB / 0.8575 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.0004699/0.7323, allocations: 0.6792 MB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.7328, allocations: 169.2 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7328, allocations: 4.938 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.7329, allocations: 41.36 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.7332, allocations: 19.31 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.7352, allocations: 1.64 MB / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7355, allocations: 0.7012 MB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.7356, allocations: 11.38 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.7356, allocations: 30.47 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7356, allocations: 0 / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.7555, allocations: 2.861 MB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.932, allocations: 10.05 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches