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.00121/0.00121, 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.001265/0.001265, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.263/2.263, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 67.91 kB / 0.8127 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5044, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00167/0.5061, allocations: 0.8682 MB / 0.9506 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.5071, allocations: 1.162 MB / 0.9518 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.5072, allocations: 2.469 kB / 0.9518 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.5072, allocations: 7.875 kB / 0.9518 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.5073, allocations: 13.02 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.5077, allocations: 136.7 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.5078, allocations: 162.9 kB / 0.9521 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.5079, allocations: 52.48 kB / 0.9521 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.508, allocations: 59.75 kB / 0.9522 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.5081, allocations: 60.05 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.5081, allocations: 15.38 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.5082, allocations: 28.45 kB / 0.9523 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.5082, allocations: 19.61 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.5083, allocations: 58.97 kB / 0.9524 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.5084, allocations: 171.5 kB / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5085, allocations: 0 / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5085, allocations: 0 / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.5085, allocations: 0 / 0.9525 GB, free: 7.066 MB / 0.7169 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.000451/0.5089, allocations: 447.2 kB / 0.953 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.509, allocations: 9.844 kB / 0.953 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.509, allocations: 37.09 kB / 0.953 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.509, allocations: 17.02 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.5094, allocations: 223.4 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5095, allocations: 12.61 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.5095, allocations: 21.69 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.5097, allocations: 94.95 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.5097, allocations: 0 / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5097, allocations: 5.094 kB / 0.9534 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5097, allocations: 2.25 kB / 0.9534 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.5099, allocations: 67.34 kB / 0.9534 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.5103, allocations: 400.1 kB / 0.9538 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.5105, allocations: 62.23 kB / 0.9539 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.5106, allocations: 41.08 kB / 0.9539 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.5106, allocations: 5.406 kB / 0.9539 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.5108, allocations: 81.91 kB / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.5108, allocations: 0 / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003677/0.5111, allocations: 135 kB / 0.9541 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.5112, allocations: 56.62 kB / 0.9542 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.5112, allocations: 139.9 kB / 0.9543 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5113, allocations: 32.02 kB / 0.9543 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.5113, allocations: 109.7 kB / 0.9544 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5113, allocations: 27.08 kB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.5114, allocations: 37.11 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.5114, allocations: 324.9 kB / 0.9548 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5116, allocations: 45.38 kB / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.5117, allocations: 72.08 kB / 0.9549 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.512, allocations: 131.9 kB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.512, allocations: 0 / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003594/0.5123, allocations: 190.6 kB / 0.9552 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5124, allocations: 44.69 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5124, allocations: 1.266 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5124, allocations: 5.281 kB / 0.9553 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.5125, allocations: 15.95 kB / 0.9553 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5125, allocations: 5.422 kB / 0.9553 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.5127, allocations: 28.31 kB / 0.9553 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.5127, allocations: 9.078 kB / 0.9553 GB, free: 4.531 MB / 0.7169 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 6.145e-05/0.5128, allocations: 125.8 kB / 0.9555 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.5128, allocations: 15.53 kB / 0.9555 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.5128, allocations: 9.344 kB / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5128, allocations: 1.438 kB / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5128, allocations: 0 / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5129, allocations: 1.594 kB / 0.9555 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.115e-05/0.5129, allocations: 208.7 kB / 0.9557 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.513, allocations: 5.406 kB / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.513, allocations: 12.64 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.513, allocations: 5.188 kB / 0.9557 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5131, allocations: 5.094 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5131, allocations: 4 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5131, allocations: 0.9688 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.5133, allocations: 131.3 kB / 0.9558 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.5133, allocations: 82.45 kB / 0.9559 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.5133, allocations: 5.031 kB / 0.9559 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.5134, allocations: 7.859 kB / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.5134, allocations: 15.36 kB / 0.9559 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5134, allocations: 2.719 kB / 0.9559 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.5135, allocations: 94.3 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5135, allocations: 0 / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002097/0.5137, allocations: 33.03 kB / 0.9561 GB, free: 3.824 MB / 0.7169 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.0003737/0.5141, allocations: 0.6735 MB / 0.9567 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.5144, allocations: 172.5 kB / 0.9569 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5144, allocations: 0 / 0.9569 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.5145, allocations: 35.58 kB / 0.9569 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5147, allocations: 25.19 kB / 0.957 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.5162, allocations: 1.622 MB / 0.9585 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.5163, allocations: 0.7066 MB / 0.9592 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.5164, allocations: 10.38 kB / 0.9592 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.5164, allocations: 27.39 kB / 0.9593 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5164, allocations: 0 / 0.9593 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.5332, allocations: 2.82 MB / 0.962 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/7.117, allocations: 16.62 kB / 0.962 GB, free: 15.43 MB / 0.7325 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