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.001687/0.001687, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002025/0.002025, allocations: 214.3 kB / 22.25 MB, free: 4.852 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.711/1.711, allocations: 230.6 MB / 256 MB, free: 7.809 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.675/3.675, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [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.002211/0.002211, allocations: 67 kB / 1.186 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4949, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005932/0.5008, allocations: 2.893 MB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.5036, allocations: 1.142 MB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.504, allocations: 27.81 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.5044, allocations: 95.06 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.5047, allocations: 107 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.5056, allocations: 369.3 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.5063, allocations: 0.6363 MB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.5067, allocations: 154.4 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.5071, allocations: 239 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.5074, allocations: 194.8 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.5074, allocations: 52 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.5075, allocations: 56 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.5076, allocations: 107.6 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.5078, allocations: 186.9 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008081/0.5086, allocations: 0.7041 MB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5086, allocations: 3.984 kB / 1.371 GB, free: 6.652 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5087, allocations: 0 / 1.371 GB, free: 6.652 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5087, allocations: 0 / 1.371 GB, free: 6.652 MB / 1.061 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.001548/0.5102, allocations: 0.7614 MB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5103, allocations: 12.03 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/0.5106, allocations: 84.53 kB / 1.371 GB, free: 5.766 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.5116, allocations: 471.4 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.5116, allocations: 21.03 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.5117, allocations: 32.38 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.5124, allocations: 418.7 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5124, allocations: 15.92 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.5124, allocations: 8 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.5125, allocations: 8 kB / 1.372 GB, free: 4.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.513, allocations: 250.4 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.5147, allocations: 1.274 MB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.5155, allocations: 242.9 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.5158, allocations: 132.8 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5158, allocations: 0 / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.5159, allocations: 38.56 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.142e-06/0.5159, allocations: 0 / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.000927/0.5168, allocations: 371.1 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.5169, allocations: 51.41 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.5174, allocations: 433.8 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5174, allocations: 29.7 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.5176, allocations: 252.5 kB / 1.375 GB, free: 1.602 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.5177, allocations: 91.16 kB / 1.375 GB, free: 1.512 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.5178, allocations: 57.97 kB / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.518, allocations: 354.7 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.5182, allocations: 96.5 kB / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.5185, allocations: 164.7 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.519, allocations: 273.7 kB / 1.376 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.519, allocations: 0 / 1.376 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006651/0.5197, allocations: 345.9 kB / 1.377 GB, free: 176 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5197, allocations: 8 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5197, allocations: 4 kB / 1.377 GB, free: 164 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5198, allocations: 4 kB / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.52, allocations: 63.83 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.52, allocations: 4 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.5202, allocations: 27.88 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5203, allocations: 12 kB / 1.377 GB, free: 52 kB / 1.061 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.000227/0.5205, allocations: 181.7 kB / 1.377 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.5206, allocations: 51.67 kB / 1.377 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.5207, allocations: 48.09 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5207, allocations: 4 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5207, allocations: 0 / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5207, allocations: 3.984 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.5211, allocations: 321 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5211, allocations: 0 / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.5214, allocations: 55.83 kB / 1.377 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5214, allocations: 0 / 1.377 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.5214, allocations: 12 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5214, allocations: 0 / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5214, allocations: 0 / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.5223, allocations: 0.4966 MB / 1.378 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.5225, allocations: 71.58 kB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.5225, allocations: 8.062 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.5227, allocations: 15.98 kB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.5228, allocations: 11.97 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5228, allocations: 12 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003555/0.5231, allocations: 287.1 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5231, allocations: 0 / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003291/0.5235, allocations: 75.72 kB / 1.378 GB, free: 14.36 MB / 1.076 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.0001533/0.5236, allocations: 111.2 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006439/0.5243, allocations: 235.6 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5243, allocations: 0 / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.5245, allocations: 109.2 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.5252, allocations: 125.7 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.5267, allocations: 0.7417 MB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5269, allocations: 220.3 kB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.5271, allocations: 51.25 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.5272, allocations: 39.42 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.5272, allocations: 0 / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of Templates: time 0.009953/0.5371, allocations: 4.488 MB / 1.384 GB, free: 8.336 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 800] 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/jenkins/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: 10.735737759619951]