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.001648/0.001648, allocations: 114.8 kB / 17.13 MB, free: 5.926 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.001929/0.001929, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.684/1.684, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 68.17 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311/1.313, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00429/1.317, allocations: 3.143 MB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002419/1.32, allocations: 1.181 MB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/1.32, allocations: 29.88 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003147/1.32, allocations: 93.06 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/1.321, allocations: 103.1 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/1.321, allocations: 364.5 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006484/1.322, allocations: 0.6364 MB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/1.322, allocations: 162.6 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/1.323, allocations: 246.4 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/1.323, allocations: 205 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/1.323, allocations: 52 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/1.323, allocations: 55.69 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/1.324, allocations: 115.5 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/1.324, allocations: 239 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008518/1.325, allocations: 0.7025 MB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.325, allocations: 0.9375 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.903e-06/1.325, allocations: 0 / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.325, allocations: 0 / 1.329 GB, free: 20.33 MB / 1.061 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.001563/1.326, allocations: 0.8406 MB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.326, allocations: 12.98 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/1.327, allocations: 86.33 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.328, allocations: 0.5233 MB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.328, allocations: 24.69 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/1.328, allocations: 27.91 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/1.329, allocations: 375.3 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.329, allocations: 0.5312 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/1.329, allocations: 15.94 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.329, allocations: 10.81 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/1.33, allocations: 254.5 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/1.332, allocations: 1.426 MB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/1.332, allocations: 257.9 kB / 1.333 GB, free: 17.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/1.333, allocations: 126.7 kB / 1.333 GB, free: 17.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/1.333, allocations: 6.938 kB / 1.333 GB, free: 17.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/1.333, allocations: 37.27 kB / 1.333 GB, free: 17.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 3.246e-06/1.333, allocations: 3.984 kB / 1.333 GB, free: 17.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.00105/1.334, allocations: 365.9 kB / 1.333 GB, free: 17.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/1.334, allocations: 58.34 kB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/1.334, allocations: 417 kB / 1.334 GB, free: 17.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/1.334, allocations: 30.83 kB / 1.334 GB, free: 17.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/1.335, allocations: 264 kB / 1.334 GB, free: 16.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/1.335, allocations: 88.66 kB / 1.334 GB, free: 16.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.335, allocations: 51.69 kB / 1.334 GB, free: 16.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.335, allocations: 362.4 kB / 1.335 GB, free: 16.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/1.335, allocations: 95.8 kB / 1.335 GB, free: 16.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/1.335, allocations: 163.4 kB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.336, allocations: 269.9 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.336, allocations: 0.5312 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007959/1.337, allocations: 347.4 kB / 1.335 GB, free: 16.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/1.337, allocations: 4.906 kB / 1.335 GB, free: 16.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.337, allocations: 2.156 kB / 1.335 GB, free: 16.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.337, allocations: 3.719 kB / 1.335 GB, free: 16.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/1.337, allocations: 61.56 kB / 1.335 GB, free: 16.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.337, allocations: 16.38 kB / 1.335 GB, free: 16.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.338, allocations: 34.34 kB / 1.335 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/1.338, allocations: 13.97 kB / 1.336 GB, free: 16 MB / 1.061 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.0002033/1.338, allocations: 171.5 kB / 1.336 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.338, allocations: 45.47 kB / 1.336 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/1.338, allocations: 46.16 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.338, allocations: 2.531 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.338, allocations: 5.5 kB / 1.336 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.338, allocations: 4.5 kB / 1.336 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/1.339, allocations: 440.4 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.339, allocations: 0.5312 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/1.339, allocations: 47.78 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/1.339, allocations: 1.625 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/1.339, allocations: 7.141 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.339, allocations: 5.031 kB / 1.336 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.339, allocations: 4.531 kB / 1.336 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.34, allocations: 0.497 MB / 1.337 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.34, allocations: 143.4 kB / 1.337 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/1.34, allocations: 6.5 kB / 1.337 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.341, allocations: 17.81 kB / 1.337 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/1.341, allocations: 12.66 kB / 1.337 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/1.341, allocations: 14.19 kB / 1.337 GB, free: 15.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000432/1.341, allocations: 289.1 kB / 1.337 GB, free: 14.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.341, allocations: 0.5938 kB / 1.337 GB, free: 14.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003964/1.342, allocations: 72.81 kB / 1.337 GB, free: 14.86 MB / 1.061 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.0001357/1.342, allocations: 107.7 kB / 1.337 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006698/1.342, allocations: 235.5 kB / 1.338 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.342, allocations: 1.375 kB / 1.338 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/1.343, allocations: 119 kB / 1.338 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/1.343, allocations: 130.3 kB / 1.338 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.345, allocations: 0.7761 MB / 1.339 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/1.345, allocations: 0.8223 MB / 1.339 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.345, allocations: 34.8 kB / 1.339 GB, free: 13.41 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.345, allocations: 0 / 1.339 GB, free: 13.41 MB / 1.061 GB Notification: Performance of Templates: time 0.01399/1.359, allocations: 5.431 MB / 1.345 GB, free: 12.76 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.945009450006182]