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.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002409/0.002409, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.789 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.252/3.252, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 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.003348/0.003348, allocations: 70.81 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4519, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005536/0.4575, allocations: 2.895 MB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.4601, allocations: 1.138 MB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.4606, allocations: 23.81 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.4609, allocations: 95.06 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.4612, allocations: 111 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008978/0.4621, allocations: 366 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008388/0.463, allocations: 0.6441 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.4633, allocations: 158.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.4638, allocations: 242.9 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.4641, allocations: 190.8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.4642, allocations: 52 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.4643, allocations: 56 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.4644, allocations: 107.6 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.4645, allocations: 182.9 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.4653, allocations: 0.7041 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4653, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4653, allocations: 7.938 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.4653, allocations: 0 / 1.332 GB, free: 10.9 MB / 1.029 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.001319/0.4666, allocations: 0.7653 MB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4667, allocations: 8.031 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.467, allocations: 88.48 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/0.468, allocations: 475.5 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.468, allocations: 21.03 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.4681, allocations: 32.38 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.4688, allocations: 422.7 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4689, allocations: 0 / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.4689, allocations: 12 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4689, allocations: 12 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.4695, allocations: 254.4 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.4712, allocations: 1.266 MB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.4719, allocations: 247.7 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.4722, allocations: 130.9 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4722, allocations: 4 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4723, allocations: 42.56 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.893e-06/0.4723, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009281/0.4732, allocations: 360.1 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.4733, allocations: 55.41 kB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.4738, allocations: 425.8 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4738, allocations: 37.7 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.474, allocations: 252.5 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.4741, allocations: 91.25 kB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4742, allocations: 61.88 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4744, allocations: 358.7 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.4747, allocations: 96.5 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.475, allocations: 160.7 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.4756, allocations: 277.4 kB / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4756, allocations: 3.938 kB / 1.338 GB, free: 4.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007028/0.4763, allocations: 337 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4763, allocations: 8.25 kB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4763, allocations: 4 kB / 1.338 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.4763, allocations: 4 kB / 1.338 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.4766, allocations: 63.89 kB / 1.338 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4766, allocations: 4 kB / 1.338 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4768, allocations: 31.77 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.4769, allocations: 16 kB / 1.338 GB, free: 4.281 MB / 1.029 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.0002133/0.4771, allocations: 178.2 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.4771, allocations: 43.72 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.4773, allocations: 52.09 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4773, allocations: 4 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4773, allocations: 4 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4773, allocations: 0 / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.4777, allocations: 317 kB / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4777, allocations: 0 / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.478, allocations: 51.89 kB / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.478, allocations: 0 / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.478, allocations: 4 kB / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.478, allocations: 8 kB / 1.339 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.478, allocations: 0 / 1.339 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009863/0.479, allocations: 0.4973 MB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4791, allocations: 67.66 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.4792, allocations: 7.984 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4794, allocations: 20.05 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.4794, allocations: 11.97 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.4795, allocations: 8 kB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003505/0.4798, allocations: 295.1 kB / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4798, allocations: 0 / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003468/0.4802, allocations: 71.78 kB / 1.34 GB, free: 2.609 MB / 1.029 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.0001278/0.4803, allocations: 107.2 kB / 1.34 GB, free: 2.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.4809, allocations: 237.4 kB / 1.34 GB, free: 2.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4809, allocations: 4 kB / 1.34 GB, free: 2.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.4812, allocations: 107.9 kB / 1.34 GB, free: 2.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.4819, allocations: 128 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4833, allocations: 0.7416 MB / 1.341 GB, free: 1.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.4836, allocations: 224.3 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.4838, allocations: 47.25 kB / 1.342 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.4839, allocations: 39.42 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/0.4839, allocations: 0 / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of Templates: time 0.01005/0.4939, allocations: 4.476 MB / 1.346 GB, free: 12.57 MB / 1.045 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/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.297478741034865]