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.001851/0.001851, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002244/0.002244, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 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.727/2.727, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 2.305e-06/2.305e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.416e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00539/0.005424, allocations: 2.903 MB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.008228, allocations: 1.152 MB / 0.7903 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.008745, allocations: 23.81 kB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.009166, allocations: 95.72 kB / 0.7904 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.009586, allocations: 109.8 kB / 0.7905 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.0106, allocations: 363.8 kB / 0.7909 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01164, allocations: 0.6551 MB / 0.7915 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.01207, allocations: 154.4 kB / 0.7917 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007154/0.01278, allocations: 331.1 kB / 0.792 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.01311, allocations: 147.5 kB / 0.7921 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.01323, allocations: 56 kB / 0.7922 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.01335, allocations: 60 kB / 0.7922 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.01347, allocations: 111.5 kB / 0.7924 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.01367, allocations: 143.5 kB / 0.7925 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009668/0.01464, allocations: 0.7093 MB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01464, allocations: 1.656 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01465, allocations: 3.938 kB / 0.7932 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.01467, allocations: 0 / 0.7932 GB, free: 5.82 MB / 0.7448 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.001726/0.01639, allocations: 0.7651 MB / 0.7939 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01643, allocations: 8.031 kB / 0.7939 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.0169, allocations: 113.3 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.01803, allocations: 0.4948 MB / 0.7945 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.01806, allocations: 21.03 kB / 0.7946 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.01813, allocations: 33.56 kB / 0.7946 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.01904, allocations: 419 kB / 0.795 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01906, allocations: 5.531 kB / 0.795 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.0191, allocations: 16.12 kB / 0.795 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01911, allocations: 4 kB / 0.795 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.0198, allocations: 256.9 kB / 0.7953 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.02177, allocations: 1.26 MB / 0.7965 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.02254, allocations: 246.5 kB / 0.7967 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.02287, allocations: 129.7 kB / 0.7968 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.02291, allocations: 5.219 kB / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.02295, allocations: 34.56 kB / 0.7969 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.185e-06/0.02295, allocations: 0 / 0.7969 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001067/0.02402, allocations: 378 kB / 0.7972 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.02407, allocations: 55.41 kB / 0.7973 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.02465, allocations: 425.8 kB / 0.7977 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.02469, allocations: 32.89 kB / 0.7977 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.02494, allocations: 256.4 kB / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.02504, allocations: 83.28 kB / 0.7981 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02515, allocations: 57.97 kB / 0.7981 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.02538, allocations: 362.7 kB / 0.7985 GB, free: 224 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.02565, allocations: 88.52 kB / 0.7985 GB, free: 136 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.026, allocations: 165.9 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.02661, allocations: 265.8 kB / 0.799 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.02662, allocations: 4 kB / 0.799 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007982/0.02741, allocations: 358.5 kB / 0.7993 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.02744, allocations: 7.531 kB / 0.7993 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.02745, allocations: 4 kB / 0.7993 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.02747, allocations: 7.938 kB / 0.7993 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.02778, allocations: 63.89 kB / 0.7994 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.02779, allocations: 4 kB / 0.7994 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.02801, allocations: 31.81 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.02804, allocations: 12 kB / 0.7994 GB, free: 15.18 MB / 0.7605 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.0002293/0.02827, allocations: 178.6 kB / 0.7996 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.02837, allocations: 51.67 kB / 0.7996 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.02849, allocations: 49.14 kB / 0.7997 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.02849, allocations: 4 kB / 0.7997 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.0285, allocations: 0 / 0.7997 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.0285, allocations: 5.109 kB / 0.7997 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.029, allocations: 324.8 kB / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.029, allocations: 0 / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.02928, allocations: 53 kB / 0.8001 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.02928, allocations: 0 / 0.8001 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.02931, allocations: 8.891 kB / 0.8001 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02931, allocations: 0 / 0.8001 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02931, allocations: 0.5 kB / 0.8001 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.03037, allocations: 0.5053 MB / 0.8006 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.03052, allocations: 67.66 kB / 0.8006 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.03057, allocations: 8 kB / 0.8006 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.03077, allocations: 11.98 kB / 0.8006 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.03085, allocations: 15.97 kB / 0.8007 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.03087, allocations: 12.05 kB / 0.8007 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003759/0.03125, allocations: 295.1 kB / 0.801 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03125, allocations: 0 / 0.801 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003835/0.03163, allocations: 71.83 kB / 0.801 GB, free: 13.5 MB / 0.7605 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.0001484/0.03178, allocations: 99.25 kB / 0.8011 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006641/0.03244, allocations: 234.2 kB / 0.8013 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.03244, allocations: 0 / 0.8013 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.03274, allocations: 114.2 kB / 0.8014 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.03349, allocations: 146.5 kB / 0.8016 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.03516, allocations: 0.7351 MB / 0.8023 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.03543, allocations: 220 kB / 0.8025 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.03565, allocations: 51.25 kB / 0.8026 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.03575, allocations: 36.5 kB / 0.8026 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.03576, allocations: 3.938 kB / 0.8026 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.01004/0.0458, allocations: 4.059 MB / 0.8066 GB, free: 7.887 MB / 0.7605 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.987740042037331]