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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001229/0.001229, 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.001234/0.001234, allocations: 195 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.109/2.109, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 68.08 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4879, allocations: 140.4 MB / 0.9491 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001715/0.4896, allocations: 0.9218 MB / 0.95 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.4906, allocations: 1.172 MB / 0.9512 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.4906, allocations: 2.031 kB / 0.9512 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.4907, allocations: 3.938 kB / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.4907, allocations: 17.95 kB / 0.9512 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.4911, allocations: 133 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.4912, allocations: 135.8 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4913, allocations: 46.89 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.4914, allocations: 55.69 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.4915, allocations: 55.86 kB / 0.9516 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.4915, allocations: 13.34 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.4916, allocations: 26.48 kB / 0.9516 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.4916, allocations: 10.67 kB / 0.9517 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.4916, allocations: 56.16 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.4918, allocations: 160.9 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4918, allocations: 1.125 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4918, allocations: 0 / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.4918, allocations: 0 / 0.9519 GB, free: 7.18 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.0004462/0.4923, allocations: 443.3 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.4923, allocations: 9.469 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.4923, allocations: 41.42 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.4924, allocations: 12.12 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.4928, allocations: 235.4 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4928, allocations: 10.23 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4928, allocations: 17 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.493, allocations: 95.05 kB / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.493, allocations: 0 / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.493, allocations: 5.562 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.493, allocations: 1.625 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.4932, allocations: 66.69 kB / 0.9528 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.4936, allocations: 396.1 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.4938, allocations: 65.2 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.4939, allocations: 42.66 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.4939, allocations: 1.094 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.4941, allocations: 89.53 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.4941, allocations: 0 / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003612/0.4945, allocations: 130.5 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.4945, allocations: 57.59 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.4946, allocations: 133.5 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4946, allocations: 32.89 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.4946, allocations: 109.4 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.4946, allocations: 27.36 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.4947, allocations: 36.45 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.4948, allocations: 321.4 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.4949, allocations: 53.44 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.495, allocations: 71.86 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.4953, allocations: 133 kB / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4953, allocations: 0 / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003517/0.4956, allocations: 198 kB / 0.9546 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4957, allocations: 36.64 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4957, allocations: 1.438 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4957, allocations: 1.656 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.4958, allocations: 20.2 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4958, allocations: 1.438 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.496, allocations: 26.88 kB / 0.9546 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.496, allocations: 13.67 kB / 0.9547 GB, free: 4.645 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.027e-05/0.4961, allocations: 120.9 kB / 0.9548 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.4961, allocations: 11.81 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.4961, allocations: 14.06 kB / 0.9548 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4961, allocations: 5.297 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4961, allocations: 0 / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4961, allocations: 1.281 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.35e-05/0.4962, allocations: 201.3 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4962, allocations: 3.984 kB / 0.955 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.4963, allocations: 14.25 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4963, allocations: 9.188 kB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4963, allocations: 0 / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4963, allocations: 5.266 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4963, allocations: 4.094 kB / 0.955 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.4966, allocations: 131.2 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.4966, allocations: 82.42 kB / 0.9552 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4966, allocations: 9.422 kB / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.4967, allocations: 4.281 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.4967, allocations: 10.86 kB / 0.9553 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4967, allocations: 6.156 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.4968, allocations: 97.27 kB / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4968, allocations: 0 / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002089/0.497, allocations: 29.78 kB / 0.9554 GB, free: 3.941 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.0003896/0.4974, allocations: 0.6829 MB / 0.9561 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.4977, allocations: 164.1 kB / 0.9562 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.4977, allocations: 1.188 kB / 0.9562 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.4978, allocations: 38.02 kB / 0.9563 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.498, allocations: 26.78 kB / 0.9563 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.4995, allocations: 1.646 MB / 0.9579 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.4996, allocations: 0.703 MB / 0.9586 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.4996, allocations: 10.2 kB / 0.9586 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.4997, allocations: 23.12 kB / 0.9586 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4997, allocations: 0 / 0.9586 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3393/0.839, allocations: 2.601 MB / 0.9611 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.8392, allocations: 251.5 kB / 0.9614 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.363, allocations: 0 / 0.9614 GB, free: 15.46 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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