Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001323/0.001323, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001509/0.001509, allocations: 167.1 kB / 22.46 MB, free: 5.379 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.71/1.71, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.119/3.119, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.944e-05/5.16e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005611/0.005663, allocations: 2.889 MB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.008111, allocations: 1.149 MB / 0.9854 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.008407, allocations: 27.75 kB / 0.9854 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.008731, allocations: 95.12 kB / 0.9855 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.008985, allocations: 114.9 kB / 0.9856 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.009853, allocations: 360.9 kB / 0.9859 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.01064, allocations: 0.6557 MB / 0.9866 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.011, allocations: 154.4 kB / 0.9867 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.01152, allocations: 327.1 kB / 0.987 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.01177, allocations: 147.5 kB / 0.9872 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.01186, allocations: 56 kB / 0.9872 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.01198, allocations: 59.92 kB / 0.9873 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01209, allocations: 111.5 kB / 0.9874 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.01227, allocations: 143.5 kB / 0.9875 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.01315, allocations: 0.7086 MB / 0.9882 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01316, allocations: 4 kB / 0.9882 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01316, allocations: 0 / 0.9882 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.01317, allocations: 0 / 0.9882 GB, free: 4.969 MB / 0.9356 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.001489/0.01466, allocations: 0.7652 MB / 0.989 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.0147, allocations: 11.97 kB / 0.989 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.01508, allocations: 84.53 kB / 0.9891 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009804/0.01606, allocations: 478.7 kB / 0.9895 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.0161, allocations: 28.97 kB / 0.9895 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.01616, allocations: 24.38 kB / 0.9896 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007635/0.01692, allocations: 419 kB / 0.99 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.01694, allocations: 4.188 kB / 0.99 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.01698, allocations: 20.38 kB / 0.99 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.01699, allocations: 7.938 kB / 0.99 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.01766, allocations: 250.4 kB / 0.9902 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.01974, allocations: 1.255 MB / 0.9915 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.02059, allocations: 257.1 kB / 0.9917 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.02093, allocations: 124.8 kB / 0.9918 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.02098, allocations: 4 kB / 0.9918 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.02102, allocations: 34.56 kB / 0.9919 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.02102, allocations: 0 / 0.9919 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.00117/0.02219, allocations: 371.7 kB / 0.9922 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.0223, allocations: 55.41 kB / 0.9923 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.02293, allocations: 421.9 kB / 0.9927 GB, free: 216 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.02298, allocations: 29.7 kB / 0.9927 GB, free: 180 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.02331, allocations: 260.5 kB / 0.993 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.02342, allocations: 87.22 kB / 0.993 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.02354, allocations: 49.98 kB / 0.9931 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003056/0.02384, allocations: 358.8 kB / 0.9934 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.02413, allocations: 92.52 kB / 0.9935 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.02448, allocations: 164.7 kB / 0.9937 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.02513, allocations: 279.3 kB / 0.9939 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.02514, allocations: 0 / 0.9939 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008096/0.02595, allocations: 339.2 kB / 0.9943 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.02598, allocations: 8.188 kB / 0.9943 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.02599, allocations: 8 kB / 0.9943 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.02602, allocations: 4 kB / 0.9943 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.02638, allocations: 63.89 kB / 0.9943 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.0264, allocations: 4 kB / 0.9943 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.02662, allocations: 31.83 kB / 0.9944 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.02665, allocations: 15.92 kB / 0.9944 GB, free: 14.36 MB / 0.9512 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.0002826/0.02693, allocations: 173.7 kB / 0.9946 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.02703, allocations: 47.67 kB / 0.9946 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.02716, allocations: 52.11 kB / 0.9946 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.02717, allocations: 0 / 0.9946 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.02719, allocations: 7.969 kB / 0.9947 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.0272, allocations: 0 / 0.9947 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.02775, allocations: 324.9 kB / 0.995 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02776, allocations: 4 kB / 0.995 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.02804, allocations: 47.91 kB / 0.995 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.02805, allocations: 4 kB / 0.995 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.02808, allocations: 3.984 kB / 0.995 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.02808, allocations: 4 kB / 0.995 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02808, allocations: 0 / 0.995 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.02923, allocations: 0.4911 MB / 0.9955 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.0294, allocations: 67.61 kB / 0.9956 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.02946, allocations: 12 kB / 0.9956 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.02966, allocations: 16.05 kB / 0.9956 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.02976, allocations: 19.97 kB / 0.9956 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.02978, allocations: 11.92 kB / 0.9956 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004342/0.03021, allocations: 291.1 kB / 0.9959 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.51e-07/0.03021, allocations: 0 / 0.9959 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003822/0.0306, allocations: 67.84 kB / 0.996 GB, free: 12.69 MB / 0.9512 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.0002284/0.03082, allocations: 99.25 kB / 0.9961 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007559/0.03158, allocations: 238.1 kB / 0.9963 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.03158, allocations: 0 / 0.9963 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.03188, allocations: 111.8 kB / 0.9964 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.03273, allocations: 137.3 kB / 0.9965 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.03459, allocations: 0.7224 MB / 0.9972 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.03489, allocations: 220.3 kB / 0.9974 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.03512, allocations: 55.25 kB / 0.9975 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.03524, allocations: 32.5 kB / 0.9975 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/0.03524, allocations: 0 / 0.9975 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.01128/0.04652, allocations: 4.043 MB / 1.001 GB, free: 7.117 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.361334647983313]