Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001503/0.001503, allocations: 213.5 kB / 23.03 MB, free: 4.922 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.8 MB / 0.7715 GB, free: 3.875 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_11_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_11_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.002039/0.002039, allocations: 63.36 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4423, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005654/0.448, allocations: 2.89 MB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.4508, allocations: 1.134 MB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.4512, allocations: 27.75 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.4515, allocations: 91.12 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.4517, allocations: 111 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.4526, allocations: 361.8 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007134/0.4533, allocations: 0.6441 MB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.4536, allocations: 166 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.454, allocations: 239 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.4542, allocations: 206.8 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.4543, allocations: 52 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.4544, allocations: 67.98 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.4545, allocations: 103.6 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.4547, allocations: 186.9 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.4554, allocations: 0.7002 MB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4554, allocations: 0 / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4554, allocations: 3.938 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4554, allocations: 0 / 1.291 GB, free: 3.715 MB / 0.9825 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.001281/0.4567, allocations: 0.7614 MB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4567, allocations: 12.03 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.257e-05/0.4568, allocations: 16.78 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.569e-05/0.4569, allocations: 66.66 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.4572, allocations: 92.48 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.4581, allocations: 471.5 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.4582, allocations: 25.03 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.4582, allocations: 32.38 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.4589, allocations: 418.4 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4589, allocations: 0 / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.459, allocations: 16 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.459, allocations: 8 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.4596, allocations: 258.4 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.4615, allocations: 1.297 MB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.4623, allocations: 256.6 kB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.4626, allocations: 123 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.4626, allocations: 8 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4627, allocations: 38.5 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 3.166e-06/0.4627, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.001057/0.4638, allocations: 364 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.4638, allocations: 59.27 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.4644, allocations: 421.8 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4644, allocations: 29.7 kB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.4646, allocations: 260.4 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.4647, allocations: 91.27 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4648, allocations: 45.98 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.4651, allocations: 362.8 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.4653, allocations: 92.52 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4656, allocations: 172.7 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.4662, allocations: 266.2 kB / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4662, allocations: 3.984 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000707/0.4669, allocations: 344.5 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4669, allocations: 8 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4669, allocations: 0 / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.467, allocations: 4 kB / 1.297 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.4673, allocations: 67.83 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.4673, allocations: 12.19 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.4675, allocations: 31.81 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.4675, allocations: 15.92 kB / 1.297 GB, free: 12.96 MB / 0.9981 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.0002342/0.4677, allocations: 173.8 kB / 1.297 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.4678, allocations: 47.67 kB / 1.297 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.4679, allocations: 44.11 kB / 1.297 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4679, allocations: 4 kB / 1.297 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.468, allocations: 7.922 kB / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.468, allocations: 0 / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.4685, allocations: 368.4 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4685, allocations: 0 / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.4688, allocations: 55.89 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4688, allocations: 0 / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4688, allocations: 4 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.4688, allocations: 4 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4688, allocations: 3.938 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4698, allocations: 0.4989 MB / 1.298 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.47, allocations: 71.61 kB / 1.298 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.47, allocations: 0 / 1.298 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.4702, allocations: 15.98 kB / 1.298 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.4703, allocations: 19.91 kB / 1.298 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4703, allocations: 4 kB / 1.298 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003944/0.4707, allocations: 295.1 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4707, allocations: 4.062 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003919/0.4711, allocations: 67.84 kB / 1.299 GB, free: 11.22 MB / 0.9981 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.001415/0.4725, allocations: 1.033 MB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.4732, allocations: 241.7 kB / 1.3 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4732, allocations: 0 / 1.3 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.4735, allocations: 112.4 kB / 1.3 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.4742, allocations: 126.8 kB / 1.3 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006255/0.4805, allocations: 3.538 MB / 1.304 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4808, allocations: 220.3 kB / 1.304 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003124/0.4811, allocations: 55.25 kB / 1.304 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.4814, allocations: 151.4 kB / 1.304 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.815e-06/0.4814, allocations: 0 / 1.304 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.5268, allocations: 8.68 MB / 1.313 GB, free: 13.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.25, allocations: 11.7 kB / 1.313 GB, free: 13.18 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.58013065997511]