Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 113.5 kB / 17.08 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 193.2 kB / 20.03 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.1 MB / 0.7178 GB, free: 4.785 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.028 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 151.6 MB / 1.176 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005508/0.3111, allocations: 3.11 MB / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.3138, allocations: 1.103 MB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.3144, allocations: 15.94 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3148, allocations: 91.06 kB / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.3152, allocations: 107 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009537/0.3162, allocations: 331 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009418/0.3171, allocations: 0.6364 MB / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.3177, allocations: 253.8 kB / 1.181 GB, free: 404 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.3181, allocations: 219 kB / 1.182 GB, free: 184 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.3185, allocations: 214.8 kB / 1.182 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3186, allocations: 52 kB / 1.182 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.3187, allocations: 52 kB / 1.182 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.3189, allocations: 103.6 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.3191, allocations: 246.6 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009012/0.3201, allocations: 0.6846 MB / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3201, allocations: 0 / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3201, allocations: 4 kB / 1.183 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.3201, allocations: 0 / 1.183 GB, free: 14.83 MB / 0.9356 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.001843/0.322, allocations: 0.8389 MB / 1.184 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.322, allocations: 8.031 kB / 1.184 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3222, allocations: 60.56 kB / 1.184 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.3233, allocations: 0.5182 MB / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3234, allocations: 21.03 kB / 1.184 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.3234, allocations: 36.33 kB / 1.184 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.3243, allocations: 383 kB / 1.185 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3243, allocations: 0 / 1.185 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.3244, allocations: 12 kB / 1.185 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3244, allocations: 8 kB / 1.185 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.325, allocations: 254.1 kB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.327, allocations: 1.425 MB / 1.186 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.3279, allocations: 262.8 kB / 1.187 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.3282, allocations: 136.8 kB / 1.187 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.3282, allocations: 7.938 kB / 1.187 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3283, allocations: 42.55 kB / 1.187 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.3283, allocations: 0 / 1.187 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001001/0.3293, allocations: 362.3 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3294, allocations: 51.41 kB / 1.187 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.33, allocations: 421.9 kB / 1.188 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.33, allocations: 29.7 kB / 1.188 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3302, allocations: 268.4 kB / 1.188 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.3303, allocations: 75.33 kB / 1.188 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3304, allocations: 61.91 kB / 1.188 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3307, allocations: 354.7 kB / 1.188 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.3309, allocations: 100.5 kB / 1.188 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.3313, allocations: 168.7 kB / 1.189 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.3319, allocations: 267.5 kB / 1.189 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3319, allocations: 0 / 1.189 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007877/0.3327, allocations: 343.2 kB / 1.189 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3328, allocations: 14.03 kB / 1.189 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3328, allocations: 0 / 1.189 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3328, allocations: 4 kB / 1.189 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3332, allocations: 63.89 kB / 1.189 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.3332, allocations: 4 kB / 1.189 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3334, allocations: 39.7 kB / 1.189 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3335, allocations: 12 kB / 1.189 GB, free: 7.938 MB / 0.9356 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.0002605/0.3337, allocations: 173.8 kB / 1.189 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.3338, allocations: 43.72 kB / 1.189 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3339, allocations: 47.97 kB / 1.19 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.334, allocations: 4 kB / 1.19 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.334, allocations: 0 / 1.19 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.334, allocations: 3.938 kB / 1.19 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.3345, allocations: 437.2 kB / 1.19 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3345, allocations: 0 / 1.19 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3348, allocations: 51.91 kB / 1.19 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3348, allocations: 4 kB / 1.19 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3349, allocations: 0 / 1.19 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.3349, allocations: 4 kB / 1.19 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3349, allocations: 3.984 kB / 1.19 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.336, allocations: 0.4971 MB / 1.19 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3362, allocations: 148.6 kB / 1.191 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.3362, allocations: 0 / 1.191 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.3365, allocations: 15.98 kB / 1.191 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.3366, allocations: 23.83 kB / 1.191 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3366, allocations: 7.938 kB / 1.191 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003631/0.3369, allocations: 295.1 kB / 1.191 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 4.062 kB / 1.191 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003516/0.3373, allocations: 59.89 kB / 1.191 GB, free: 6.047 MB / 0.9356 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.000126/0.3374, allocations: 107.2 kB / 1.191 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.3381, allocations: 241.8 kB / 1.191 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3381, allocations: 0 / 1.191 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.3384, allocations: 120.9 kB / 1.191 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.3392, allocations: 138.3 kB / 1.192 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3406, allocations: 0.7774 MB / 1.192 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.3412, allocations: 0.8233 MB / 1.193 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3413, allocations: 31.44 kB / 1.193 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.3413, allocations: 0 / 1.193 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.009285/0.3506, allocations: 5.365 MB / 1.198 GB, free: 14.43 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.719345923978835]