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.001616/0.001616, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002091/0.002091, allocations: 209.6 kB / 22.99 MB, free: 4.984 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 35.27 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.002047/0.002047, allocations: 65.64 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004865/0.405, allocations: 2.892 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.4073, allocations: 1.145 MB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.4077, allocations: 27.75 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.408, allocations: 99.06 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.4082, allocations: 111 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.409, allocations: 357.4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006674/0.4097, allocations: 0.6402 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.41, allocations: 166.2 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.4104, allocations: 239 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.4106, allocations: 218.8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.271e-05/0.4107, allocations: 52 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.4108, allocations: 60 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.4109, allocations: 103.6 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.4111, allocations: 190.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.4118, allocations: 0.7002 MB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4118, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4118, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.4118, allocations: 0 / 1.334 GB, free: 10.02 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.001344/0.4132, allocations: 0.7614 MB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4132, allocations: 12.03 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.4136, allocations: 92.48 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/0.4146, allocations: 467.5 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4146, allocations: 29.03 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.4146, allocations: 24.38 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.4154, allocations: 430.7 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4154, allocations: 0 / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.4154, allocations: 12 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4154, allocations: 4 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.416, allocations: 254.4 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.4176, allocations: 1.27 MB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.4184, allocations: 258.8 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.4186, allocations: 124.8 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4187, allocations: 7.938 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4187, allocations: 38.48 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.4187, allocations: 0 / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009025/0.4196, allocations: 362.8 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4197, allocations: 55.41 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.4201, allocations: 425.8 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.4202, allocations: 25.7 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.4204, allocations: 260.5 kB / 1.339 GB, free: 4.961 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.4204, allocations: 87.2 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.4205, allocations: 61.92 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4207, allocations: 358.7 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.421, allocations: 96.5 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.4212, allocations: 156.8 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.4218, allocations: 273.3 kB / 1.34 GB, free: 3.879 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4218, allocations: 4 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006906/0.4225, allocations: 341 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4225, allocations: 4 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4225, allocations: 4 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4225, allocations: 4 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.4228, allocations: 63.89 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4228, allocations: 8.25 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.423, allocations: 31.83 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.4231, allocations: 11.98 kB / 1.34 GB, free: 3.41 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.0001939/0.4233, allocations: 178.2 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.4233, allocations: 51.7 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.4234, allocations: 44.11 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4235, allocations: 0 / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4235, allocations: 3.938 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.4235, allocations: 7.984 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.4239, allocations: 329 kB / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4239, allocations: 0 / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.4241, allocations: 43.97 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.4242, allocations: 4 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4242, allocations: 0 / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4242, allocations: 0 / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4242, allocations: 0 / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.4251, allocations: 0.5151 MB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4253, allocations: 71.53 kB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.4253, allocations: 4 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4255, allocations: 11.98 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.4256, allocations: 19.97 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4256, allocations: 4 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003386/0.4259, allocations: 291.1 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4259, allocations: 4.062 kB / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003389/0.4263, allocations: 75.78 kB / 1.342 GB, free: 1.723 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.0001284/0.4264, allocations: 103.2 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005975/0.427, allocations: 236.1 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.427, allocations: 4 kB / 1.342 GB, free: 1.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.4273, allocations: 108.9 kB / 1.342 GB, free: 1.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.4279, allocations: 131.3 kB / 1.342 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4293, allocations: 0.7417 MB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.4295, allocations: 212.3 kB / 1.343 GB, free: 152 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.4297, allocations: 55.25 kB / 1.343 GB, free: 96 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.4298, allocations: 35.36 kB / 1.343 GB, free: 60 kB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4298, allocations: 0 / 1.343 GB, free: 60 kB / 1.029 GB Notification: Performance of Templates: time 0.009713/0.4395, allocations: 4.567 MB / 1.348 GB, free: 11.61 MB / 1.045 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 -s cvode -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: 9.270289968990255]