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.001768/0.001768, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002/0.002, allocations: 160.4 kB / 23.02 MB, free: 4.941 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.775/2.775, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.002132/0.002132, allocations: 75.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9086, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003568/0.9122, allocations: 2.894 MB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.914, allocations: 1.138 MB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.9143, allocations: 34.38 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.9146, allocations: 90.39 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.9148, allocations: 112.6 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.9154, allocations: 360.8 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.9159, allocations: 0.6426 MB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.9162, allocations: 151.5 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.9165, allocations: 242.9 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.9167, allocations: 181 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.9167, allocations: 51.41 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.9168, allocations: 60.12 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.9169, allocations: 118.5 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.917, allocations: 191.8 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.9175, allocations: 0.7018 MB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9175, allocations: 0 / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9175, allocations: 2.531 kB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.9176, allocations: 0 / 1.161 GB, free: 28.95 MB / 1.076 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.001072/0.9186, allocations: 0.7617 MB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.9187, allocations: 15.06 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.919, allocations: 90.78 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007565/0.9197, allocations: 474.9 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.9198, allocations: 23.78 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.9198, allocations: 31.45 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.9204, allocations: 425.8 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.9204, allocations: 4 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.9204, allocations: 13.62 kB / 1.162 GB, free: 27.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9204, allocations: 5.656 kB / 1.162 GB, free: 27.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.9209, allocations: 251 kB / 1.163 GB, free: 27.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.9221, allocations: 1.255 MB / 1.164 GB, free: 26.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.9227, allocations: 248.4 kB / 1.164 GB, free: 26.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.9229, allocations: 135.9 kB / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.923, allocations: 6.859 kB / 1.164 GB, free: 26.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.923, allocations: 33.19 kB / 1.164 GB, free: 26.45 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.923, allocations: 0 / 1.164 GB, free: 26.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0007897/0.9238, allocations: 357.9 kB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.9238, allocations: 61.62 kB / 1.165 GB, free: 26.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.9242, allocations: 427.1 kB / 1.165 GB, free: 26.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.9242, allocations: 25.7 kB / 1.165 GB, free: 25.99 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.9243, allocations: 262.8 kB / 1.165 GB, free: 25.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.9244, allocations: 85.72 kB / 1.165 GB, free: 25.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.9244, allocations: 60.31 kB / 1.166 GB, free: 25.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.9245, allocations: 353.2 kB / 1.166 GB, free: 25.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.9247, allocations: 97.84 kB / 1.166 GB, free: 25.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.925, allocations: 162.8 kB / 1.166 GB, free: 25.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.9254, allocations: 281.3 kB / 1.166 GB, free: 25.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9254, allocations: 0 / 1.166 GB, free: 25.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005705/0.926, allocations: 348 kB / 1.167 GB, free: 24.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.926, allocations: 5.25 kB / 1.167 GB, free: 24.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.926, allocations: 6.562 kB / 1.167 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.926, allocations: 5.25 kB / 1.167 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.9263, allocations: 63 kB / 1.167 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9263, allocations: 2.625 kB / 1.167 GB, free: 24.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.9265, allocations: 39.66 kB / 1.167 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.9265, allocations: 11.81 kB / 1.167 GB, free: 24.83 MB / 1.076 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.0001389/0.9266, allocations: 177.4 kB / 1.167 GB, free: 24.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.9267, allocations: 44.72 kB / 1.167 GB, free: 24.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.9268, allocations: 47.95 kB / 1.167 GB, free: 24.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.9268, allocations: 2.625 kB / 1.167 GB, free: 24.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9268, allocations: 0 / 1.167 GB, free: 24.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9268, allocations: 3.375 kB / 1.167 GB, free: 24.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.9271, allocations: 321.9 kB / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9271, allocations: 0 / 1.167 GB, free: 24.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.9273, allocations: 48.83 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.9273, allocations: 9.781 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.9274, allocations: 2.656 kB / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9274, allocations: 0 / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9274, allocations: 0 / 1.167 GB, free: 24.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.9282, allocations: 0.5065 MB / 1.168 GB, free: 24.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.9283, allocations: 68.88 kB / 1.168 GB, free: 24.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.9283, allocations: 0 / 1.168 GB, free: 24.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.9285, allocations: 15.92 kB / 1.168 GB, free: 24.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.9285, allocations: 17.17 kB / 1.168 GB, free: 24.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.9285, allocations: 5.688 kB / 1.168 GB, free: 24.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002312/0.9288, allocations: 295.6 kB / 1.168 GB, free: 23.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9288, allocations: 0 / 1.168 GB, free: 23.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003197/0.9291, allocations: 68.5 kB / 1.168 GB, free: 23.88 MB / 1.076 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 7.937e-05/0.9292, allocations: 106.6 kB / 1.169 GB, free: 23.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005226/0.9297, allocations: 237.1 kB / 1.169 GB, free: 23.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9297, allocations: 0 / 1.169 GB, free: 23.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.9299, allocations: 107 kB / 1.169 GB, free: 23.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.9305, allocations: 127.1 kB / 1.169 GB, free: 23.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.9316, allocations: 0.7507 MB / 1.17 GB, free: 23.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.9317, allocations: 228.4 kB / 1.17 GB, free: 23.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.9319, allocations: 56.56 kB / 1.17 GB, free: 23.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.932, allocations: 33.2 kB / 1.17 GB, free: 23.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.932, allocations: 2.625 kB / 1.17 GB, free: 23.05 MB / 1.076 GB Notification: Performance of Templates: time 0.008872/0.9409, allocations: 4.062 MB / 1.174 GB, free: 22.53 MB / 1.076 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 -s ida -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: 8.788338596001267]