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.0009783/0.0009783, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008289/0.0008289, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8983/0.8983, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.765/1.765, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 177] 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.424e-06/2.424e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/3.974e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003754/0.003794, allocations: 2.903 MB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.005622, allocations: 1.141 MB / 0.9861 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.005889, allocations: 27.75 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.006169, allocations: 95.12 kB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.006358, allocations: 118.9 kB / 0.9864 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.007007, allocations: 356.4 kB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.007544, allocations: 0.6479 MB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.007831, allocations: 158.4 kB / 0.9875 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.008225, allocations: 327.1 kB / 0.9878 GB, free: 12.3 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.008414, allocations: 147.5 kB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.00847, allocations: 56 kB / 0.988 GB, free: 12.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.00855, allocations: 60 kB / 0.9881 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.008614, allocations: 111.5 kB / 0.9882 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.008715, allocations: 139.5 kB / 0.9883 GB, free: 11.8 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.009306, allocations: 0.7086 MB / 0.989 GB, free: 11.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.009309, allocations: 0 / 0.989 GB, free: 11.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.009311, allocations: 0 / 0.989 GB, free: 11.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.009319, allocations: 0 / 0.989 GB, free: 11.09 MB / 0.948 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.0009967/0.01032, allocations: 0.7652 MB / 0.9897 GB, free: 10.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.01037, allocations: 15.97 kB / 0.9897 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.0106, allocations: 88.47 kB / 0.9898 GB, free: 10.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.01124, allocations: 474.7 kB / 0.9903 GB, free: 9.699 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.01126, allocations: 25.03 kB / 0.9903 GB, free: 9.676 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.01131, allocations: 24.38 kB / 0.9903 GB, free: 9.652 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.01179, allocations: 434.9 kB / 0.9907 GB, free: 9.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.0118, allocations: 192 / 0.9907 GB, free: 9.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.01183, allocations: 16.36 kB / 0.9908 GB, free: 9.164 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01184, allocations: 7.938 kB / 0.9908 GB, free: 9.156 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.0122, allocations: 250.4 kB / 0.991 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.01342, allocations: 1.251 MB / 0.9922 GB, free: 7.609 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.01388, allocations: 250.9 kB / 0.9925 GB, free: 7.355 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.01405, allocations: 131.1 kB / 0.9926 GB, free: 7.227 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.01409, allocations: 4 kB / 0.9926 GB, free: 7.223 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01411, allocations: 30.56 kB / 0.9926 GB, free: 7.184 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.01411, allocations: 0 / 0.9926 GB, free: 7.184 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0006039/0.01472, allocations: 375.7 kB / 0.993 GB, free: 6.812 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.01475, allocations: 55.41 kB / 0.993 GB, free: 6.746 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.0151, allocations: 421.9 kB / 0.9934 GB, free: 6.324 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01512, allocations: 29.7 kB / 0.9935 GB, free: 6.289 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.01528, allocations: 256.4 kB / 0.9937 GB, free: 6.035 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.01533, allocations: 87.22 kB / 0.9938 GB, free: 5.949 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.0154, allocations: 57.97 kB / 0.9938 GB, free: 5.883 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01552, allocations: 350.8 kB / 0.9942 GB, free: 5.531 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.01566, allocations: 100.5 kB / 0.9943 GB, free: 5.434 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.01584, allocations: 157.9 kB / 0.9944 GB, free: 5.254 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.01618, allocations: 277.5 kB / 0.9947 GB, free: 4.957 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.01619, allocations: 0 / 0.9947 GB, free: 4.957 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00042/0.01661, allocations: 345 kB / 0.995 GB, free: 4.613 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.01662, allocations: 4 kB / 0.995 GB, free: 4.609 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01663, allocations: 4 kB / 0.995 GB, free: 4.605 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01665, allocations: 11.92 kB / 0.995 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.0168, allocations: 63.89 kB / 0.9951 GB, free: 4.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01681, allocations: 4 kB / 0.9951 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.694e-05/0.01691, allocations: 32.08 kB / 0.9951 GB, free: 4.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.01693, allocations: 12 kB / 0.9952 GB, free: 4.484 MB / 0.948 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.0001567/0.01708, allocations: 181.6 kB / 0.9953 GB, free: 4.297 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.01713, allocations: 51.66 kB / 0.9954 GB, free: 4.246 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.01721, allocations: 52.11 kB / 0.9954 GB, free: 4.195 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.01722, allocations: 4 kB / 0.9954 GB, free: 4.191 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.01722, allocations: 0 / 0.9954 GB, free: 4.191 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.01723, allocations: 3.984 kB / 0.9954 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.01751, allocations: 317 kB / 0.9957 GB, free: 3.848 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01751, allocations: 4 kB / 0.9957 GB, free: 3.844 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.01765, allocations: 51.91 kB / 0.9958 GB, free: 3.793 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.01765, allocations: 4 kB / 0.9958 GB, free: 3.789 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.01767, allocations: 4 kB / 0.9958 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01767, allocations: 0 / 0.9958 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01767, allocations: 0 / 0.9958 GB, free: 3.785 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.01829, allocations: 0.5023 MB / 0.9963 GB, free: 3.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.01838, allocations: 67.61 kB / 0.9963 GB, free: 3.203 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.0184, allocations: 4 kB / 0.9964 GB, free: 3.199 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.01849, allocations: 11.98 kB / 0.9964 GB, free: 3.188 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.01856, allocations: 19.97 kB / 0.9964 GB, free: 3.168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01857, allocations: 4 kB / 0.9964 GB, free: 3.164 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002255/0.01879, allocations: 291.1 kB / 0.9967 GB, free: 2.883 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01879, allocations: 0 / 0.9967 GB, free: 2.883 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002236/0.01902, allocations: 71.84 kB / 0.9967 GB, free: 2.812 MB / 0.948 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.0001225/0.01914, allocations: 107.2 kB / 0.9968 GB, free: 2.695 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.01954, allocations: 238 kB / 0.9971 GB, free: 2.465 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01954, allocations: 0 / 0.9971 GB, free: 2.465 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.01969, allocations: 112.4 kB / 0.9972 GB, free: 2.355 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.02014, allocations: 141.1 kB / 0.9973 GB, free: 2.223 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.02115, allocations: 0.7576 MB / 0.998 GB, free: 1.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.0213, allocations: 216.3 kB / 0.9982 GB, free: 1.195 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.02139, allocations: 36.48 kB / 0.9983 GB, free: 1.16 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/0.02139, allocations: 0 / 0.9983 GB, free: 1.16 MB / 0.948 GB Notification: Performance of Templates: time 0.005917/0.02731, allocations: 5.616 MB / 1.004 GB, free: 11.59 MB / 0.9636 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: 7.9199407156556845]