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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003237/0.003237, allocations: 189.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.595/3.595, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 60.53 kB / 1.145 GB, free: 30.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4945, allocations: 174.9 MB / 1.316 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005409/0.4999, allocations: 3.151 MB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.5025, allocations: 1.114 MB / 1.32 GB, free: 5.316 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.5029, allocations: 27.75 kB / 1.32 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.5031, allocations: 87.12 kB / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.5034, allocations: 115 kB / 1.32 GB, free: 5.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.5042, allocations: 349 kB / 1.321 GB, free: 4.754 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007556/0.505, allocations: 0.6363 MB / 1.321 GB, free: 4.113 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.5054, allocations: 166.4 kB / 1.322 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.5057, allocations: 231 kB / 1.322 GB, free: 3.715 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.506, allocations: 210.9 kB / 1.322 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.499e-05/0.506, allocations: 52 kB / 1.322 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.5061, allocations: 56 kB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.5063, allocations: 107.5 kB / 1.322 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.5065, allocations: 242.6 kB / 1.322 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.5074, allocations: 0.6886 MB / 1.323 GB, free: 2.367 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5074, allocations: 0 / 1.323 GB, free: 2.367 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5074, allocations: 0 / 1.323 GB, free: 2.367 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5074, allocations: 0 / 1.323 GB, free: 2.367 MB / 1.014 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.001522/0.5089, allocations: 0.7575 MB / 1.324 GB, free: 1.578 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5089, allocations: 12.03 kB / 1.324 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5091, allocations: 64.56 kB / 1.324 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.5101, allocations: 463.5 kB / 1.324 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.5101, allocations: 25.03 kB / 1.324 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.5101, allocations: 28.38 kB / 1.324 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.5109, allocations: 375.3 kB / 1.325 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5109, allocations: 3.984 kB / 1.325 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.5109, allocations: 12 kB / 1.325 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5109, allocations: 4 kB / 1.325 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.5116, allocations: 254.4 kB / 1.325 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.5134, allocations: 1.391 MB / 1.326 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.5142, allocations: 254.9 kB / 1.327 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.5145, allocations: 131.2 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.5145, allocations: 0 / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5146, allocations: 38.56 kB / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.5146, allocations: 0 / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009606/0.5155, allocations: 365.1 kB / 1.327 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.5156, allocations: 59.34 kB / 1.327 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.5162, allocations: 410 kB / 1.328 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.5162, allocations: 33.7 kB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.5165, allocations: 268.4 kB / 1.328 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.5165, allocations: 87.27 kB / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5166, allocations: 53.94 kB / 1.328 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.5168, allocations: 362.7 kB / 1.328 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.5171, allocations: 92.52 kB / 1.328 GB, free: 12.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.5174, allocations: 165.8 kB / 1.329 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.518, allocations: 270.1 kB / 1.329 GB, free: 12.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.518, allocations: 4 kB / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007379/0.5187, allocations: 338.8 kB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5188, allocations: 4 kB / 1.329 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5188, allocations: 4.25 kB / 1.329 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.5188, allocations: 8 kB / 1.329 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.5191, allocations: 63.89 kB / 1.329 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.5191, allocations: 7.938 kB / 1.329 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.5193, allocations: 35.77 kB / 1.329 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.5194, allocations: 8 kB / 1.329 GB, free: 11.73 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.0002305/0.5196, allocations: 173.8 kB / 1.329 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.5197, allocations: 43.72 kB / 1.329 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.5198, allocations: 52.08 kB / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5198, allocations: 0 / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.5198, allocations: 0 / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5198, allocations: 7.922 kB / 1.33 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.5204, allocations: 408.3 kB / 1.33 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5204, allocations: 0 / 1.33 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.5206, allocations: 43.97 kB / 1.33 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5207, allocations: 3.938 kB / 1.33 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5207, allocations: 11.98 kB / 1.33 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5207, allocations: 4 kB / 1.33 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5207, allocations: 3.938 kB / 1.33 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5217, allocations: 0.5009 MB / 1.33 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.5218, allocations: 67.73 kB / 1.331 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.5219, allocations: 7.984 kB / 1.331 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.5221, allocations: 12 kB / 1.331 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.5221, allocations: 19.95 kB / 1.331 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5222, allocations: 7.938 kB / 1.331 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003334/0.5225, allocations: 287.1 kB / 1.331 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5225, allocations: 0 / 1.331 GB, free: 10.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000331/0.5228, allocations: 71.78 kB / 1.331 GB, free: 9.953 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.0001566/0.523, allocations: 117.8 kB / 1.331 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006448/0.5236, allocations: 228.6 kB / 1.331 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5236, allocations: 4.438 kB / 1.331 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.5239, allocations: 109.1 kB / 1.331 GB, free: 9.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.5246, allocations: 120 kB / 1.331 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.5261, allocations: 0.7491 MB / 1.332 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.5266, allocations: 0.8155 MB / 1.333 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.5268, allocations: 55.25 kB / 1.333 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.5268, allocations: 35.42 kB / 1.333 GB, free: 7.668 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/0.5268, allocations: 0 / 1.333 GB, free: 7.668 MB / 1.029 GB Notification: Performance of Templates: time 0.009629/0.5365, allocations: 4.014 MB / 1.337 GB, free: 3.75 MB / 1.029 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.772155263461173]