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.001929/0.001929, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002607/0.002607, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.464/1.464, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.19/3.19, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.055e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.007057/0.007088, allocations: 2.897 MB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00345/0.01054, allocations: 1.149 MB / 0.8815 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.01098, allocations: 27.75 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.01137, allocations: 91.06 kB / 0.8816 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.01178, allocations: 121.2 kB / 0.8818 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.01296, allocations: 359.2 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.01411, allocations: 0.6557 MB / 0.8827 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.01457, allocations: 150.4 kB / 0.8829 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007595/0.01533, allocations: 331.2 kB / 0.8832 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.01568, allocations: 155.4 kB / 0.8834 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.0158, allocations: 52 kB / 0.8834 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.01595, allocations: 57.5 kB / 0.8835 GB, free: 492 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.01637, allocations: 115.5 kB / 0.8836 GB, free: 376 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.01661, allocations: 139.6 kB / 0.8837 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.01789, allocations: 0.7086 MB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01789, allocations: 5.031 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.183e-06/0.01789, allocations: 0 / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.078e-06/0.0179, allocations: 0 / 0.8844 GB, free: 15.52 MB / 0.8542 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.001968/0.01987, allocations: 0.7692 MB / 0.8851 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.01992, allocations: 12.03 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.02051, allocations: 107.2 kB / 0.8853 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.02197, allocations: 0.489 MB / 0.8857 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.02201, allocations: 25.72 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.02211, allocations: 36.3 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.02324, allocations: 420.6 kB / 0.8862 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.02326, allocations: 192 / 0.8862 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.02332, allocations: 20.61 kB / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.02334, allocations: 8 kB / 0.8862 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.02435, allocations: 257.5 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.02695, allocations: 1.259 MB / 0.8877 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.02808, allocations: 251.4 kB / 0.8879 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.02855, allocations: 127.1 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.02859, allocations: 8 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.02864, allocations: 38.5 kB / 0.8881 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 2.265e-06/0.02865, allocations: 0 / 0.8881 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001545/0.03019, allocations: 372 kB / 0.8885 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.03026, allocations: 55.41 kB / 0.8885 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.03112, allocations: 429.8 kB / 0.8889 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.03117, allocations: 29.7 kB / 0.889 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.03151, allocations: 260.4 kB / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.03164, allocations: 79.34 kB / 0.8893 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.0318, allocations: 57.92 kB / 0.8893 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002904/0.03209, allocations: 354.7 kB / 0.8897 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.03252, allocations: 96.5 kB / 0.8898 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.03303, allocations: 168.7 kB / 0.8899 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/0.03401, allocations: 267.5 kB / 0.8902 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.03401, allocations: 0 / 0.8902 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001539/0.03555, allocations: 349.3 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.03557, allocations: 8 kB / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.03559, allocations: 7.984 kB / 0.8905 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.03562, allocations: 4 kB / 0.8905 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.03613, allocations: 63.89 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.03615, allocations: 4 kB / 0.8906 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.03654, allocations: 35.77 kB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.03658, allocations: 8 kB / 0.8906 GB, free: 8.852 MB / 0.8542 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.000315/0.03689, allocations: 177.7 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.03703, allocations: 59.72 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.03718, allocations: 48.05 kB / 0.8909 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.03718, allocations: 3.938 kB / 0.8909 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.03719, allocations: 4 kB / 0.8909 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.0372, allocations: 3.984 kB / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.03787, allocations: 325 kB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.03787, allocations: 4 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.03829, allocations: 39.97 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.0383, allocations: 4 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.03832, allocations: 8 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.03833, allocations: 0 / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.03834, allocations: 7.984 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.0399, allocations: 0.5027 MB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.0401, allocations: 59.72 kB / 0.8918 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.04018, allocations: 12.06 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.04049, allocations: 7.984 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.04059, allocations: 19.97 kB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.04061, allocations: 4 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005742/0.04118, allocations: 299.1 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/0.04118, allocations: 0 / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006047/0.04179, allocations: 71.78 kB / 0.8922 GB, free: 7.16 MB / 0.8542 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.0002025/0.04199, allocations: 103.2 kB / 0.8923 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009874/0.04298, allocations: 233.5 kB / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.04298, allocations: 0 / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.04344, allocations: 108.4 kB / 0.8927 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.04457, allocations: 142.8 kB / 0.8928 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.04674, allocations: 0.7328 MB / 0.8935 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.04711, allocations: 227.8 kB / 0.8937 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.04743, allocations: 55.25 kB / 0.8938 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.04757, allocations: 32.5 kB / 0.8938 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.04757, allocations: 0 / 0.8938 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of Templates: time 0.01522/0.0628, allocations: 4.073 MB / 0.8978 GB, free: 1.562 MB / 0.8542 GB " [Timeout remaining time 300] 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: 8.354639809927903]