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.001551/0.001551, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00165/0.00165, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.954/2.954, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 GB " [Timeout remaining time 176] 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.001924/0.001924, allocations: 63.91 kB / 1.165 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9091/0.911, allocations: 178.9 MB / 1.34 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004739/0.9158, allocations: 3.147 MB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.9183, allocations: 1.187 MB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.9187, allocations: 24.66 kB / 1.344 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.919, allocations: 87.47 kB / 1.344 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.9193, allocations: 119.4 kB / 1.345 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.9202, allocations: 354.4 kB / 1.345 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.9209, allocations: 0.6415 MB / 1.346 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.9212, allocations: 162.7 kB / 1.346 GB, free: 9.344 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.9216, allocations: 238.6 kB / 1.346 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.9218, allocations: 205.9 kB / 1.346 GB, free: 9.027 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.9219, allocations: 53.03 kB / 1.346 GB, free: 9.027 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.922, allocations: 63.52 kB / 1.346 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.9221, allocations: 107.7 kB / 1.346 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.9223, allocations: 245 kB / 1.347 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.9231, allocations: 0.6996 MB / 1.347 GB, free: 8.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9231, allocations: 3.938 kB / 1.347 GB, free: 8.156 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9231, allocations: 1.5 kB / 1.347 GB, free: 8.156 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.9231, allocations: 0 / 1.347 GB, free: 8.156 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001435/0.9246, allocations: 0.8438 MB / 1.348 GB, free: 7.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9246, allocations: 12.92 kB / 1.348 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.9246, allocations: 9.125 kB / 1.348 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.9247, allocations: 59.2 kB / 1.348 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.925, allocations: 97.92 kB / 1.348 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.9259, allocations: 0.5197 MB / 1.349 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.926, allocations: 25.25 kB / 1.349 GB, free: 6.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.926, allocations: 31.14 kB / 1.349 GB, free: 6.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.9267, allocations: 377 kB / 1.349 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9267, allocations: 0 / 1.349 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.9267, allocations: 11.59 kB / 1.349 GB, free: 6.559 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.9268, allocations: 12.19 kB / 1.349 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.9274, allocations: 250 kB / 1.349 GB, free: 6.438 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.9291, allocations: 1.425 MB / 1.351 GB, free: 5.164 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.9298, allocations: 256.3 kB / 1.351 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.9301, allocations: 129.8 kB / 1.351 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.9302, allocations: 6.938 kB / 1.351 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.9302, allocations: 31.72 kB / 1.351 GB, free: 4.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.9302, allocations: 7.938 kB / 1.351 GB, free: 4.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009404/0.9311, allocations: 363.4 kB / 1.352 GB, free: 4.711 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.9312, allocations: 54.5 kB / 1.352 GB, free: 4.648 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.9317, allocations: 422 kB / 1.352 GB, free: 4.387 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.9317, allocations: 30.83 kB / 1.352 GB, free: 4.352 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.9319, allocations: 266.6 kB / 1.352 GB, free: 4.113 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.932, allocations: 89.88 kB / 1.352 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.9321, allocations: 52.66 kB / 1.352 GB, free: 3.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9323, allocations: 356.3 kB / 1.353 GB, free: 3.645 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.9325, allocations: 93.8 kB / 1.353 GB, free: 3.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.9328, allocations: 166.1 kB / 1.353 GB, free: 3.469 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.9334, allocations: 275.9 kB / 1.353 GB, free: 3.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9334, allocations: 1.438 kB / 1.353 GB, free: 3.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000732/0.9341, allocations: 338.3 kB / 1.354 GB, free: 3.098 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9342, allocations: 9.766 kB / 1.354 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9342, allocations: 6.156 kB / 1.354 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.9342, allocations: 7.219 kB / 1.354 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.9345, allocations: 62.91 kB / 1.354 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9345, allocations: 10.77 kB / 1.354 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.9347, allocations: 28.06 kB / 1.354 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.9347, allocations: 12.42 kB / 1.354 GB, free: 3.043 MB / 1.029 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.000209/0.9349, allocations: 173.9 kB / 1.354 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.935, allocations: 49.28 kB / 1.354 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.9351, allocations: 47.66 kB / 1.354 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9351, allocations: 2.625 kB / 1.354 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.9351, allocations: 3.938 kB / 1.354 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9351, allocations: 0 / 1.354 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.9357, allocations: 433.8 kB / 1.354 GB, free: 2.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.9357, allocations: 1.312 kB / 1.354 GB, free: 2.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.936, allocations: 46.72 kB / 1.354 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.936, allocations: 1.219 kB / 1.354 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.936, allocations: 9.281 kB / 1.355 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.936, allocations: 1.25 kB / 1.355 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.936, allocations: 3.938 kB / 1.355 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.9369, allocations: 0.4972 MB / 1.355 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.9371, allocations: 142 kB / 1.355 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.9371, allocations: 10.81 kB / 1.355 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.9373, allocations: 17.64 kB / 1.355 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.9374, allocations: 19.22 kB / 1.355 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.9374, allocations: 8.281 kB / 1.355 GB, free: 1.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003394/0.9378, allocations: 293.7 kB / 1.355 GB, free: 1.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9378, allocations: 3.938 kB / 1.355 GB, free: 1.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003497/0.9381, allocations: 72.84 kB / 1.356 GB, free: 1.707 MB / 1.029 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.001256/0.9394, allocations: 1.044 MB / 1.357 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.94, allocations: 232.8 kB / 1.357 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.94, allocations: 0.5625 kB / 1.357 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.9403, allocations: 107.8 kB / 1.357 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.941, allocations: 134.8 kB / 1.357 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.9462, allocations: 3.526 MB / 1.36 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.9467, allocations: 0.8229 MB / 1.361 GB, free: 13.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.9469, allocations: 55.38 kB / 1.361 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.9471, allocations: 153.8 kB / 1.361 GB, free: 13.23 MB / 1.045 GB Notification: Performance of SimCode: time 8.61e-07/0.9471, allocations: 0 / 1.361 GB, free: 13.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.9762, allocations: 8.21 MB / 1.369 GB, free: 5.801 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.761, allocations: 3.938 kB / 1.369 GB, free: 5.797 MB / 1.045 GB " [Timeout remaining time 290] (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: 16.145969433011487]