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.001824/0.001824, allocations: 85.48 kB / 19.44 MB, free: 348 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.001919/0.001919, allocations: 177.2 kB / 22.76 MB, free: 1.664 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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.562 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.354/3.354, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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 1.443e-06/1.443e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.847e-05, allocations: 6.25 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00519/0.005218, allocations: 3.01 MB / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.007462, allocations: 1.152 MB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.007722, allocations: 32.34 kB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.008001, allocations: 92.62 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.008262, allocations: 117.2 kB / 0.8817 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.009043, allocations: 356.9 kB / 0.8821 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007843/0.009827, allocations: 0.6557 MB / 0.8827 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.01014, allocations: 146.4 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.01066, allocations: 339.1 kB / 0.8832 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.0109, allocations: 148.9 kB / 0.8833 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.01099, allocations: 56 kB / 0.8834 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.01109, allocations: 53.22 kB / 0.8834 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.01121, allocations: 115.5 kB / 0.8835 GB, free: 428 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.01138, allocations: 139.5 kB / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.01224, allocations: 0.7086 MB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01224, allocations: 3.344 kB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01224, allocations: 0 / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.01225, allocations: 0 / 0.8844 GB, free: 15.57 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.001744/0.01399, allocations: 0.9194 MB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.01403, allocations: 8.031 kB / 0.8853 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.0144, allocations: 104.5 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.01531, allocations: 0.5015 MB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.01535, allocations: 21.03 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.01541, allocations: 32.38 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.01616, allocations: 456.4 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01617, allocations: 192 / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.01621, allocations: 16.38 kB / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.01622, allocations: 11.94 kB / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.01679, allocations: 234.4 kB / 0.8866 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.01895, allocations: 1.797 MB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.01962, allocations: 259.4 kB / 0.8886 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.01989, allocations: 123.6 kB / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.01993, allocations: 4 kB / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.01996, allocations: 41.33 kB / 0.8888 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.212e-06/0.01996, allocations: 3.938 kB / 0.8888 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0008594/0.02082, allocations: 348 kB / 0.8891 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.02087, allocations: 59.39 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007335/0.0216, allocations: 0.6003 MB / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.02163, allocations: 25.7 kB / 0.8898 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.02194, allocations: 347.1 kB / 0.8901 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.02203, allocations: 99.2 kB / 0.8902 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.02216, allocations: 71.64 kB / 0.8903 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003558/0.02251, allocations: 0.5704 MB / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.02274, allocations: 80.53 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.02306, allocations: 194.2 kB / 0.8911 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.02363, allocations: 292.9 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02363, allocations: 0 / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000683/0.02432, allocations: 333.1 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.02433, allocations: 7.984 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.02434, allocations: 4 kB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.02436, allocations: 4 kB / 0.8917 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.02464, allocations: 59.91 kB / 0.8917 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.02465, allocations: 4 kB / 0.8917 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.02482, allocations: 28.09 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.02485, allocations: 15.98 kB / 0.8918 GB, free: 7.605 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.0002374/0.02509, allocations: 220.5 kB / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.02518, allocations: 51.67 kB / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.02546, allocations: 60.03 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.02546, allocations: 0 / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.02546, allocations: 0 / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02547, allocations: 0 / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.02607, allocations: 444.3 kB / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.02607, allocations: 0 / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.02633, allocations: 47.97 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.02634, allocations: 4 kB / 0.8926 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.02636, allocations: 4 kB / 0.8926 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02637, allocations: 0 / 0.8926 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02637, allocations: 0 / 0.8926 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.02737, allocations: 0.5345 MB / 0.8931 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.02752, allocations: 71.58 kB / 0.8932 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.02756, allocations: 11.97 kB / 0.8932 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.02774, allocations: 8 kB / 0.8932 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.0278, allocations: 11.97 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.02782, allocations: 15.98 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000448/0.02827, allocations: 367 kB / 0.8936 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02827, allocations: 0 / 0.8936 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000334/0.02861, allocations: 63.89 kB / 0.8936 GB, free: 5.648 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.0001485/0.02875, allocations: 111.1 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000592/0.02935, allocations: 249.1 kB / 0.894 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02935, allocations: 0 / 0.894 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.02961, allocations: 123.6 kB / 0.8941 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.03034, allocations: 149 kB / 0.8942 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.03176, allocations: 0.7484 MB / 0.895 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.032, allocations: 216 kB / 0.8952 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.03219, allocations: 55.25 kB / 0.8952 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.03229, allocations: 32.48 kB / 0.8953 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.03229, allocations: 0 / 0.8953 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of Templates: time 0.00983/0.04212, allocations: 4.075 MB / 0.8992 GB, free: 15.99 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] 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.476476414012723]