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.001728/0.001728, allocations: 77.48 kB / 19.18 MB, free: 2.52 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.00187/0.00187, allocations: 164.8 kB / 22.45 MB, free: 5.375 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.416/1.416, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.609/2.609, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.972e-05, allocations: 6.219 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004816/0.004846, allocations: 2.899 MB / 0.9538 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.007227, allocations: 1.149 MB / 0.9549 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.007496, allocations: 23.81 kB / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.00782, allocations: 99 kB / 0.955 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.008078, allocations: 111 kB / 0.9551 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008034/0.008881, allocations: 365.7 kB / 0.9555 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007333/0.009614, allocations: 0.6479 MB / 0.9561 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.009924, allocations: 158.2 kB / 0.9563 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.01041, allocations: 331.1 kB / 0.9566 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.01063, allocations: 155.4 kB / 0.9567 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.01072, allocations: 56 kB / 0.9568 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.01083, allocations: 56 kB / 0.9568 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.01094, allocations: 111.5 kB / 0.9569 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.0111, allocations: 139.6 kB / 0.9571 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.01193, allocations: 0.7085 MB / 0.9578 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.01193, allocations: 4 kB / 0.9578 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01194, allocations: 0 / 0.9578 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.01194, allocations: 0 / 0.9578 GB, free: 4.605 MB / 0.8575 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.001367/0.01331, allocations: 0.7652 MB / 0.9585 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.01336, allocations: 15.97 kB / 0.9585 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.01372, allocations: 88.53 kB / 0.9586 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009281/0.01465, allocations: 462.8 kB / 0.9591 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.01468, allocations: 21.03 kB / 0.9591 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.01473, allocations: 32.38 kB / 0.9591 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.01547, allocations: 419 kB / 0.9595 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01549, allocations: 4.188 kB / 0.9595 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.01552, allocations: 8.375 kB / 0.9595 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.01554, allocations: 11.94 kB / 0.9595 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.01619, allocations: 258.4 kB / 0.9598 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.01788, allocations: 1.251 MB / 0.961 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.01861, allocations: 254.8 kB / 0.9612 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.01893, allocations: 131.3 kB / 0.9614 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01895, allocations: 0 / 0.9614 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.01899, allocations: 34.56 kB / 0.9614 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.233e-06/0.01899, allocations: 0 / 0.9614 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0009983/0.01999, allocations: 375.6 kB / 0.9618 GB, free: 348 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.02004, allocations: 51.41 kB / 0.9618 GB, free: 284 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.02058, allocations: 429.8 kB / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.02061, allocations: 29.7 kB / 0.9623 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.02083, allocations: 260.4 kB / 0.9625 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.02091, allocations: 79.33 kB / 0.9626 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.02101, allocations: 57.94 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.0212, allocations: 358.7 kB / 0.963 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.02146, allocations: 92.52 kB / 0.9631 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.02179, allocations: 168.7 kB / 0.9632 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.02244, allocations: 275 kB / 0.9635 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02244, allocations: 0 / 0.9635 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007326/0.02317, allocations: 337.1 kB / 0.9638 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.02319, allocations: 4 kB / 0.9638 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.0232, allocations: 8 kB / 0.9638 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.02322, allocations: 3.984 kB / 0.9638 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.02353, allocations: 63.91 kB / 0.9639 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.02354, allocations: 4 kB / 0.9639 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.02376, allocations: 40.02 kB / 0.9639 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.02378, allocations: 11.98 kB / 0.9639 GB, free: 14 MB / 0.8731 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.0002093/0.02399, allocations: 178.3 kB / 0.9641 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.02407, allocations: 47.72 kB / 0.9642 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.02417, allocations: 44.11 kB / 0.9642 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.02418, allocations: 7.984 kB / 0.9642 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.02419, allocations: 0 / 0.9642 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02419, allocations: 0 / 0.9642 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.02463, allocations: 324.9 kB / 0.9645 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02463, allocations: 4 kB / 0.9645 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.02492, allocations: 47.97 kB / 0.9646 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.02492, allocations: 0 / 0.9646 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.02495, allocations: 11.98 kB / 0.9646 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02495, allocations: 0 / 0.9646 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02495, allocations: 0 / 0.9646 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.026, allocations: 0.4988 MB / 0.9651 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.02613, allocations: 71.66 kB / 0.9651 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.02618, allocations: 4 kB / 0.9651 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.02638, allocations: 15.92 kB / 0.9651 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.02645, allocations: 15.97 kB / 0.9652 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.02647, allocations: 7.984 kB / 0.9652 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003697/0.02684, allocations: 295.1 kB / 0.9654 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.02684, allocations: 0 / 0.9654 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003641/0.0272, allocations: 71.91 kB / 0.9655 GB, free: 12.33 MB / 0.8731 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.000162/0.02736, allocations: 107.2 kB / 0.9656 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.02802, allocations: 238.2 kB / 0.9658 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02803, allocations: 0 / 0.9658 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.02831, allocations: 114.5 kB / 0.966 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.02903, allocations: 136.4 kB / 0.9661 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.03045, allocations: 0.7209 MB / 0.9668 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.03068, allocations: 216.3 kB / 0.967 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.03086, allocations: 51.25 kB / 0.967 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.03095, allocations: 32.5 kB / 0.9671 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of SimCode: time 7.62e-07/0.03095, allocations: 0 / 0.9671 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.009552/0.04051, allocations: 4.035 MB / 0.971 GB, free: 6.77 MB / 0.8731 GB " [Timeout remaining time 300] 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/jenkins/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: 7.721447568386793]