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.001429/0.001429, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001754/0.001754, allocations: 215.3 kB / 22.99 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.769/2.769, allocations: 476 MB / 0.7707 GB, free: 4.699 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: 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_11_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_11_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.002116/0.002116, allocations: 67.8 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004649/0.3699, allocations: 2.889 MB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.3722, allocations: 1.149 MB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.3725, allocations: 31.75 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.3727, allocations: 87.12 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.373, allocations: 111 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.3738, allocations: 360.9 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007177/0.3745, allocations: 0.6441 MB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.3748, allocations: 158.4 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.3752, allocations: 239 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3754, allocations: 190.8 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.3755, allocations: 55.94 kB / 1.29 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3756, allocations: 60 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.3757, allocations: 107.6 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.3759, allocations: 178.9 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.3767, allocations: 0.7041 MB / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3767, allocations: 0 / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3767, allocations: 4 kB / 1.291 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.3767, allocations: 0 / 1.291 GB, free: 4.996 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.001361/0.3781, allocations: 0.7692 MB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3781, allocations: 8.031 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.3785, allocations: 88.48 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.3794, allocations: 467.5 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3795, allocations: 25.03 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.3795, allocations: 28.38 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000739/0.3803, allocations: 426.7 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3803, allocations: 0 / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.3803, allocations: 12 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3803, allocations: 12 kB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.3809, allocations: 254.4 kB / 1.293 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.3826, allocations: 1.255 MB / 1.294 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.3833, allocations: 257.4 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.3836, allocations: 124.8 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3837, allocations: 4 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3837, allocations: 38.5 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.3837, allocations: 4 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.000917/0.3846, allocations: 359.4 kB / 1.295 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3846, allocations: 59.27 kB / 1.295 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.3851, allocations: 425.8 kB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3852, allocations: 25.7 kB / 1.295 GB, free: 208 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3854, allocations: 264.5 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.3855, allocations: 87.27 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.3856, allocations: 45.98 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3857, allocations: 362.7 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.386, allocations: 96.5 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.3863, allocations: 164.7 kB / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.3868, allocations: 274.4 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3868, allocations: 4 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006659/0.3875, allocations: 344.9 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3875, allocations: 8 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3875, allocations: 256 / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3875, allocations: 8 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.3878, allocations: 71.89 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3878, allocations: 4 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.388, allocations: 27.83 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3881, allocations: 8 kB / 1.297 GB, free: 14.39 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.0001917/0.3882, allocations: 185.2 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.3883, allocations: 43.72 kB / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3884, allocations: 52.09 kB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3884, allocations: 4 kB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3884, allocations: 3.938 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3884, allocations: 0 / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.3888, allocations: 320.9 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3888, allocations: 3.984 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.3891, allocations: 55.89 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3891, allocations: 0 / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3891, allocations: 0 / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3891, allocations: 4 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3891, allocations: 4 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009327/0.3901, allocations: 0.5027 MB / 1.298 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3902, allocations: 67.66 kB / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.3902, allocations: 0 / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3904, allocations: 20.05 kB / 1.298 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.3905, allocations: 15.97 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3905, allocations: 4 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003248/0.3908, allocations: 295.1 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3908, allocations: 0 / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003333/0.3912, allocations: 71.78 kB / 1.298 GB, free: 12.71 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.0001198/0.3913, allocations: 99.25 kB / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005964/0.3919, allocations: 244.6 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3919, allocations: 0 / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.3921, allocations: 115.8 kB / 1.299 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.3928, allocations: 121.1 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.3942, allocations: 0.7728 MB / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3944, allocations: 220.3 kB / 1.3 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3945, allocations: 35.42 kB / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3945, allocations: 0 / 1.3 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of Templates: time 0.008947/0.4035, allocations: 5.612 MB / 1.305 GB, free: 5.488 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] 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: 11.825177399907261]