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.001607/0.001607, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001728/0.001728, allocations: 158.1 kB / 23.01 MB, free: 4.941 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.88/2.88, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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.002128/0.002128, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7831, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003629/0.7867, allocations: 2.897 MB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.7885, allocations: 1.145 MB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.7887, allocations: 27.56 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.789, allocations: 93.14 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.7892, allocations: 114.8 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.7899, allocations: 355.7 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.7904, allocations: 0.6458 MB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.7907, allocations: 149.9 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.791, allocations: 245.2 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.7912, allocations: 189.1 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.7913, allocations: 56.12 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.7914, allocations: 59.72 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.7915, allocations: 106.5 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.7916, allocations: 189.8 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.7923, allocations: 0.6983 MB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.7923, allocations: 1.25 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7923, allocations: 0 / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.7923, allocations: 0 / 1.193 GB, free: 11.88 MB / 1.076 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.001167/0.7935, allocations: 0.7637 MB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.7935, allocations: 9.375 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.7938, allocations: 85.53 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.7946, allocations: 476.9 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.7947, allocations: 24.75 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.7947, allocations: 27.66 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.7953, allocations: 429.5 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.7954, allocations: 1.094 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.7954, allocations: 11.12 kB / 1.195 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.7954, allocations: 7.469 kB / 1.195 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.796, allocations: 256.6 kB / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.7973, allocations: 1.25 MB / 1.197 GB, free: 9.598 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.7979, allocations: 261.5 kB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.7982, allocations: 127.3 kB / 1.197 GB, free: 9.434 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.7982, allocations: 1.906 kB / 1.197 GB, free: 9.434 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.7983, allocations: 33.56 kB / 1.197 GB, free: 9.395 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.7983, allocations: 0 / 1.197 GB, free: 9.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0008654/0.7991, allocations: 370.4 kB / 1.197 GB, free: 9.234 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.7992, allocations: 59 kB / 1.197 GB, free: 9.168 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.7996, allocations: 427.3 kB / 1.198 GB, free: 8.961 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.7996, allocations: 30.7 kB / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.7997, allocations: 258.5 kB / 1.198 GB, free: 8.715 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.7998, allocations: 88.89 kB / 1.198 GB, free: 8.645 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.7999, allocations: 55.5 kB / 1.198 GB, free: 8.605 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.7999, allocations: 355.5 kB / 1.199 GB, free: 8.273 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.8002, allocations: 98.92 kB / 1.199 GB, free: 8.238 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.8005, allocations: 167.2 kB / 1.199 GB, free: 8.125 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.801, allocations: 274.8 kB / 1.199 GB, free: 7.957 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.801, allocations: 0 / 1.199 GB, free: 7.957 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006589/0.8016, allocations: 349.9 kB / 1.199 GB, free: 7.797 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8016, allocations: 7.688 kB / 1.199 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8016, allocations: 1.062 kB / 1.199 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8017, allocations: 3.906 kB / 1.199 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.802, allocations: 65.22 kB / 1.2 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.802, allocations: 4.125 kB / 1.2 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.8022, allocations: 34.95 kB / 1.2 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.8022, allocations: 9.859 kB / 1.2 GB, free: 7.77 MB / 1.076 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.0001416/0.8023, allocations: 179.3 kB / 1.2 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.8024, allocations: 49.16 kB / 1.2 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.8025, allocations: 50.28 kB / 1.2 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.8025, allocations: 3.094 kB / 1.2 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8025, allocations: 0 / 1.2 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8025, allocations: 1.359 kB / 1.2 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.8029, allocations: 322 kB / 1.2 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8029, allocations: 4.75 kB / 1.2 GB, free: 7.324 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.8031, allocations: 47.22 kB / 1.2 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8031, allocations: 1.766 kB / 1.2 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.8032, allocations: 2.922 kB / 1.2 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.8032, allocations: 1.438 kB / 1.2 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8032, allocations: 1.094 kB / 1.2 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.804, allocations: 0.5054 MB / 1.201 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.8042, allocations: 72.02 kB / 1.201 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.8042, allocations: 2.797 kB / 1.201 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.8044, allocations: 13.78 kB / 1.201 GB, free: 6.977 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.8045, allocations: 22.52 kB / 1.201 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.8045, allocations: 5.609 kB / 1.201 GB, free: 6.969 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002839/0.8048, allocations: 294.2 kB / 1.201 GB, free: 6.824 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8048, allocations: 0 / 1.201 GB, free: 6.824 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003455/0.8051, allocations: 72.62 kB / 1.201 GB, free: 6.801 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 7.403e-05/0.8052, allocations: 101.3 kB / 1.201 GB, free: 6.711 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.8058, allocations: 237.5 kB / 1.201 GB, free: 6.633 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8058, allocations: 1.094 kB / 1.201 GB, free: 6.633 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.806, allocations: 111.7 kB / 1.202 GB, free: 6.598 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.8067, allocations: 130.2 kB / 1.202 GB, free: 6.555 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.8078, allocations: 0.7412 MB / 1.202 GB, free: 6.102 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.808, allocations: 224.4 kB / 1.203 GB, free: 6.004 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000192/0.8082, allocations: 52.11 kB / 1.203 GB, free: 5.988 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.8083, allocations: 32.11 kB / 1.203 GB, free: 5.98 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.8083, allocations: 0 / 1.203 GB, free: 5.98 MB / 1.076 GB Notification: Performance of Templates: time 0.008994/0.8173, allocations: 4.067 MB / 1.207 GB, free: 5.477 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 -s ida -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/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: 8.553100995020941]