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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 103.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 497.2 MB / 0.7812 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 1.134 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 173.9 MB / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002442/1.124, allocations: 0.8823 MB / 1.305 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001886/1.125, allocations: 1.181 MB / 1.306 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/1.125, allocations: 0.8438 kB / 1.306 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/1.126, allocations: 9.281 kB / 1.306 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/1.126, allocations: 15.88 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/1.126, allocations: 145.3 kB / 1.306 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/1.126, allocations: 150.3 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/1.127, allocations: 43.11 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/1.127, allocations: 61.48 kB / 1.306 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/1.127, allocations: 59.28 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/1.127, allocations: 15.03 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/1.127, allocations: 28.91 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/1.127, allocations: 23.41 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/1.127, allocations: 59.91 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/1.127, allocations: 176.8 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.127, allocations: 0 / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/1.127, allocations: 0 / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.127, allocations: 3.938 kB / 1.307 GB, free: 13.84 MB / 1.014 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.0007711/1.128, allocations: 446.9 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.128, allocations: 10.73 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/1.128, allocations: 43.02 kB / 1.307 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/1.128, allocations: 12.84 kB / 1.307 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/1.129, allocations: 239.8 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/1.129, allocations: 13.44 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/1.129, allocations: 9.391 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.129, allocations: 96.78 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/1.129, allocations: 0 / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.129, allocations: 5.641 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.129, allocations: 2.219 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/1.129, allocations: 66.86 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/1.13, allocations: 400.5 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/1.13, allocations: 58.11 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/1.13, allocations: 35.78 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/1.13, allocations: 1.125 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/1.131, allocations: 96.5 kB / 1.308 GB, free: 12.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/1.131, allocations: 0 / 1.308 GB, free: 12.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.000475/1.131, allocations: 138.4 kB / 1.308 GB, free: 12.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/1.131, allocations: 53.36 kB / 1.308 GB, free: 12.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.131, allocations: 132.1 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/1.131, allocations: 28.17 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/1.132, allocations: 109.9 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/1.132, allocations: 24.38 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/1.132, allocations: 40.16 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.132, allocations: 319 kB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/1.132, allocations: 47.39 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/1.132, allocations: 74.42 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/1.132, allocations: 128.1 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.132, allocations: 5.766 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004416/1.133, allocations: 197 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/1.133, allocations: 45.83 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.133, allocations: 1.25 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.133, allocations: 1.719 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.133, allocations: 15.78 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.133, allocations: 5.094 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.133, allocations: 44.88 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/1.133, allocations: 12.48 kB / 1.31 GB, free: 11.55 MB / 1.014 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 0.0001355/1.133, allocations: 121.5 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/1.134, allocations: 12.36 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/1.134, allocations: 10.61 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.134, allocations: 2.172 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.134, allocations: 0 / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.134, allocations: 4.609 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/1.134, allocations: 197.5 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.134, allocations: 1.281 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/1.134, allocations: 12.72 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.134, allocations: 4.828 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/1.134, allocations: 5.125 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.134, allocations: 1.406 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.134, allocations: 0.7969 kB / 1.31 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/1.134, allocations: 133.7 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/1.134, allocations: 84.12 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/1.134, allocations: 5.5 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/1.134, allocations: 5.328 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/1.134, allocations: 10.03 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/1.134, allocations: 6.516 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.029e-05/1.134, allocations: 97.8 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.134, allocations: 5.281 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002512/1.135, allocations: 34.09 kB / 1.31 GB, free: 10.89 MB / 1.014 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.0007075/1.135, allocations: 0.6727 MB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000394/1.136, allocations: 160.2 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/1.136, allocations: 0 / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/1.136, allocations: 31.09 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/1.136, allocations: 24.94 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/1.139, allocations: 1.643 MB / 1.313 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/1.139, allocations: 0.7013 MB / 1.313 GB, free: 8.109 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.03e-05/1.139, allocations: 7.547 kB / 1.313 GB, free: 8.109 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/1.139, allocations: 31.25 kB / 1.314 GB, free: 8.086 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/1.139, allocations: 0 / 1.314 GB, free: 8.086 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/1.168, allocations: 2.884 MB / 1.316 GB, free: 6.891 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/9.714, allocations: 8.719 kB / 1.316 GB, free: 6.883 MB / 1.014 GB " [Timeout remaining time 290] (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 --stepSize=1.44 --timeout=800 --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) [Timeout 840.0] 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_2/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.36298084212467]