Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002329/0.002329, allocations: 220.9 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.203/3.203, allocations: 0.49 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 68.88 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 176.1 MB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002255/0.3612, allocations: 0.8546 MB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3627, allocations: 1.182 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3628, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.3628, allocations: 7.875 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.3629, allocations: 27.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.3634, allocations: 148.2 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3636, allocations: 143.7 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3637, allocations: 37.75 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3639, allocations: 71.77 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.364, allocations: 63.73 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.364, allocations: 16 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.3641, allocations: 31.92 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.3641, allocations: 19.94 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.3642, allocations: 51.84 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3644, allocations: 175.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3644, allocations: 3.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3644, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3644, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 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.0006391/0.3651, allocations: 367.6 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3651, allocations: 8.031 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.3652, allocations: 42.73 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.3652, allocations: 16.84 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.3657, allocations: 170.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3657, allocations: 8.375 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3657, allocations: 12.38 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.366, allocations: 102.7 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.366, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.366, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.366, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.3662, allocations: 67.95 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.3667, allocations: 343.6 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3669, allocations: 58.55 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.367, allocations: 28.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3671, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.3673, allocations: 91.3 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3673, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004274/0.3677, allocations: 137.7 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3678, allocations: 55.39 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3679, allocations: 125.8 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3679, allocations: 37.62 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.368, allocations: 104 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.368, allocations: 31.73 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.3681, allocations: 41.64 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3682, allocations: 318.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3684, allocations: 81.66 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3686, allocations: 109 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.3689, allocations: 137.1 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3689, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004456/0.3693, allocations: 224.8 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.3694, allocations: 37.64 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3694, allocations: 4 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3694, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3695, allocations: 15.98 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3695, allocations: 4.094 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.3697, allocations: 31.97 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3697, allocations: 11.98 kB / 1.331 GB, free: 11.52 MB / 1.029 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.000109/0.3698, allocations: 117.8 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.3698, allocations: 11.83 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3699, allocations: 12.38 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3699, allocations: 3.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3699, allocations: 8 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3699, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3701, allocations: 168.7 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3701, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.3701, allocations: 11.98 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3701, allocations: 3.938 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3701, allocations: 8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3702, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3702, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3704, allocations: 141.4 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3705, allocations: 7.953 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3705, allocations: 3.938 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.3705, allocations: 15.86 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3706, allocations: 7.984 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3706, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.3707, allocations: 97.23 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3707, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000232/0.3709, allocations: 35.89 kB / 1.332 GB, free: 10.8 MB / 1.029 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.0006974/0.3716, allocations: 0.6826 MB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.372, allocations: 185 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.372, allocations: 0 / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3721, allocations: 35.91 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3724, allocations: 20.17 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.3746, allocations: 1.761 MB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.3747, allocations: 96.11 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.3748, allocations: 4.438 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.3748, allocations: 31.42 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3748, allocations: 0 / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.4056, allocations: 3.524 MB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 10.31 kB / 1.338 GB, free: 4.449 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.3001126430172]