Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.001231/0.001231, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001355/0.001355, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.12/3.12, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="cs",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.001951/0.001951, allocations: 66.42 kB / 1.17 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 179 MB / 1.345 GB, free: 24 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005305/0.3286, allocations: 2.883 MB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.3311, allocations: 1.145 MB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00051/0.3316, allocations: 23.81 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.332, allocations: 91.06 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.3324, allocations: 111 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.3334, allocations: 360.6 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007753/0.3341, allocations: 0.6402 MB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.3345, allocations: 162.4 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.3348, allocations: 243 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.3351, allocations: 214.8 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.3352, allocations: 52 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3353, allocations: 60 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.3354, allocations: 103.6 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.3355, allocations: 186.9 kB / 1.351 GB, free: 9.746 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007816/0.3363, allocations: 0.7002 MB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3363, allocations: 0 / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3363, allocations: 0 / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3363, allocations: 0 / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001363/0.3377, allocations: 0.7731 MB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3377, allocations: 8.031 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.781e-05/0.3378, allocations: 12.84 kB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.964e-05/0.3378, allocations: 62.73 kB / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.3382, allocations: 92.52 kB / 1.353 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.3391, allocations: 471.4 kB / 1.353 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3391, allocations: 25.03 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.3392, allocations: 28.38 kB / 1.353 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.3399, allocations: 422.3 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3399, allocations: 3.938 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.34, allocations: 16 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.34, allocations: 11.94 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.3406, allocations: 254.4 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.3422, allocations: 1.305 MB / 1.355 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.3429, allocations: 254.8 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3432, allocations: 128.7 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3432, allocations: 8 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3432, allocations: 30.56 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.3432, allocations: 4 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.0009109/0.3442, allocations: 371.5 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3442, allocations: 55.27 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.3447, allocations: 425.9 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3447, allocations: 25.7 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.3449, allocations: 268.4 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.345, allocations: 83.31 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3451, allocations: 53.94 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3453, allocations: 354.8 kB / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3455, allocations: 100.5 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.3458, allocations: 156.7 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.3464, allocations: 275.4 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3464, allocations: 4 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006752/0.347, allocations: 341 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3471, allocations: 4 kB / 1.358 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3471, allocations: 4.25 kB / 1.358 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3471, allocations: 8 kB / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.3474, allocations: 67.83 kB / 1.358 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3474, allocations: 7.938 kB / 1.358 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3476, allocations: 35.77 kB / 1.358 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.3476, allocations: 8 kB / 1.358 GB, free: 2.262 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001821/0.3478, allocations: 169.8 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.18e-05/0.3478, allocations: 43.72 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.348, allocations: 52.09 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.348, allocations: 4 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.348, allocations: 3.938 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.348, allocations: 0 / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.3484, allocations: 368.4 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3484, allocations: 3.938 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.3487, allocations: 51.91 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3487, allocations: 4 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3487, allocations: 3.984 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3487, allocations: 0 / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3487, allocations: 11.88 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.3496, allocations: 0.4974 MB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3498, allocations: 63.66 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.3498, allocations: 8 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.35, allocations: 12.05 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.3501, allocations: 27.89 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3501, allocations: 7.984 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000318/0.3504, allocations: 291.1 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3504, allocations: 0 / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003252/0.3507, allocations: 71.84 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001228/0.352, allocations: 1.047 MB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005741/0.3525, allocations: 227.6 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3525, allocations: 0.5625 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.3528, allocations: 119.9 kB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.3534, allocations: 125.1 kB / 1.361 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.3583, allocations: 3.54 MB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3585, allocations: 216.3 kB / 1.365 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.3587, allocations: 55.25 kB / 1.365 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.359, allocations: 151.4 kB / 1.365 GB, free: 10.89 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.359, allocations: 0 / 1.365 GB, free: 10.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3907, allocations: 8.658 MB / 1.374 GB, free: 2.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12, allocations: 9.469 kB / 1.374 GB, free: 2.488 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.588900371920317]