Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001871/0.001871, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002006/0.002006, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.852/2.852, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.533e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.008727/0.008762, allocations: 3.001 MB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00422/0.01298, allocations: 1.156 MB / 0.7904 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.01347, allocations: 27.81 kB / 0.7905 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.01393, allocations: 96.44 kB / 0.7906 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.0144, allocations: 113.5 kB / 0.7907 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.01583, allocations: 361 kB / 0.791 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.01716, allocations: 0.6518 MB / 0.7916 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.0177, allocations: 154.4 kB / 0.7918 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008089/0.0185, allocations: 335.1 kB / 0.7921 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.01889, allocations: 145 kB / 0.7922 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01902, allocations: 56 kB / 0.7923 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.01918, allocations: 52 kB / 0.7923 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.01935, allocations: 117.1 kB / 0.7925 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.01962, allocations: 139.5 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.02101, allocations: 0.7124 MB / 0.7933 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02101, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.94e-06/0.02102, allocations: 5.641 kB / 0.7933 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.02103, allocations: 0 / 0.7933 GB, free: 5.711 MB / 0.7448 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.002425/0.02345, allocations: 0.9065 MB / 0.7942 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.0235, allocations: 8.031 kB / 0.7942 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.02414, allocations: 105.2 kB / 0.7943 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.02568, allocations: 0.4969 MB / 0.7948 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.02573, allocations: 26.38 kB / 0.7948 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.02582, allocations: 28.38 kB / 0.7948 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.02713, allocations: 460.4 kB / 0.7953 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.02715, allocations: 5.281 kB / 0.7953 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.02721, allocations: 12.38 kB / 0.7953 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.02724, allocations: 11.94 kB / 0.7953 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.02827, allocations: 227.8 kB / 0.7955 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.03217, allocations: 1.806 MB / 0.7973 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.03334, allocations: 257.2 kB / 0.7975 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.03382, allocations: 130.7 kB / 0.7976 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.03387, allocations: 4 kB / 0.7976 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.03393, allocations: 41.39 kB / 0.7977 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.865e-06/0.03393, allocations: 3.469 kB / 0.7977 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001628/0.03556, allocations: 342.8 kB / 0.798 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.03564, allocations: 59.39 kB / 0.7981 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.03694, allocations: 0.5964 MB / 0.7987 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.03699, allocations: 29.7 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.0375, allocations: 343.1 kB / 0.799 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.03765, allocations: 95.81 kB / 0.7991 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.03787, allocations: 75.64 kB / 0.7992 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0005351/0.0384, allocations: 0.5722 MB / 0.7997 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.03881, allocations: 76.53 kB / 0.7998 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.03938, allocations: 194.2 kB / 0.8 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.04041, allocations: 301 kB / 0.8003 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.04041, allocations: 0 / 0.8003 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001312/0.04173, allocations: 343.2 kB / 0.8006 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.04175, allocations: 4.531 kB / 0.8006 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.04177, allocations: 4.656 kB / 0.8006 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.04179, allocations: 4 kB / 0.8006 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.04233, allocations: 58.66 kB / 0.8007 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.04235, allocations: 4 kB / 0.8007 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.04264, allocations: 23.84 kB / 0.8007 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.04269, allocations: 15.98 kB / 0.8007 GB, free: 13.78 MB / 0.7605 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.0003933/0.04308, allocations: 220.5 kB / 0.8009 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.04323, allocations: 51.72 kB / 0.801 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.0434, allocations: 54.75 kB / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.0434, allocations: 0 / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.04341, allocations: 0 / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.04341, allocations: 0 / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.04451, allocations: 448.3 kB / 0.8015 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.04451, allocations: 0 / 0.8015 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.04505, allocations: 44.84 kB / 0.8015 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.04507, allocations: 4 kB / 0.8015 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.0451, allocations: 5.125 kB / 0.8015 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.0451, allocations: 0 / 0.8015 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.04511, allocations: 4 kB / 0.8015 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.04692, allocations: 0.5354 MB / 0.802 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.04716, allocations: 67.62 kB / 0.8021 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.04724, allocations: 4 kB / 0.8021 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.04755, allocations: 8.594 kB / 0.8021 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.04767, allocations: 19.91 kB / 0.8021 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.04771, allocations: 16.48 kB / 0.8021 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008277/0.04853, allocations: 372.4 kB / 0.8025 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.4e-07/0.04853, allocations: 0 / 0.8025 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000666/0.0492, allocations: 63.84 kB / 0.8026 GB, free: 11.84 MB / 0.7605 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.0002241/0.04942, allocations: 108.1 kB / 0.8027 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.05068, allocations: 251.1 kB / 0.8029 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.05069, allocations: 0.6562 kB / 0.8029 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.05121, allocations: 130.7 kB / 0.803 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.05258, allocations: 139.4 kB / 0.8032 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.05505, allocations: 0.7407 MB / 0.8039 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.05546, allocations: 224 kB / 0.8041 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.05579, allocations: 51.25 kB / 0.8041 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.05593, allocations: 32.48 kB / 0.8042 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of SimCode: time 1.202e-06/0.05593, allocations: 4 kB / 0.8042 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of Templates: time 0.01704/0.07297, allocations: 4.056 MB / 0.8081 GB, free: 6.184 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.983997439965606]