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.001517/0.001517, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001092/0.001092, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9623/0.9623, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.074e-06/2.074e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.444e-05, allocations: 6.172 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004691/0.004716, allocations: 3.034 MB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.007066, allocations: 1.164 MB / 0.7912 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.007435, allocations: 28.53 kB / 0.7912 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.007726, allocations: 99.06 kB / 0.7913 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.007997, allocations: 116.3 kB / 0.7914 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.008782, allocations: 351.4 kB / 0.7917 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.00952, allocations: 0.6517 MB / 0.7924 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.009874, allocations: 158.4 kB / 0.7925 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.01038, allocations: 331.1 kB / 0.7929 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.01061, allocations: 149 kB / 0.793 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.01069, allocations: 55.94 kB / 0.793 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.01079, allocations: 59.98 kB / 0.7931 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.01087, allocations: 107.6 kB / 0.7932 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.01101, allocations: 140.1 kB / 0.7933 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.01153, allocations: 383 kB / 0.7937 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.01153, allocations: 0 / 0.7937 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01153, allocations: 0.6562 kB / 0.7937 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.01154, allocations: 4 kB / 0.7937 GB, free: 6.062 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.001231/0.01277, allocations: 0.8487 MB / 0.7945 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.01282, allocations: 9.875 kB / 0.7945 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.01316, allocations: 108.5 kB / 0.7947 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.014, allocations: 0.4944 MB / 0.7951 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.01403, allocations: 25.03 kB / 0.7952 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.01409, allocations: 32.36 kB / 0.7952 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.01469, allocations: 367 kB / 0.7955 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.0147, allocations: 192 / 0.7955 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.01474, allocations: 12.38 kB / 0.7956 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.01476, allocations: 11.94 kB / 0.7956 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.01506, allocations: 112.3 kB / 0.7957 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.01668, allocations: 1.56 MB / 0.7972 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.01714, allocations: 169 kB / 0.7974 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.01728, allocations: 78.64 kB / 0.7974 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.01731, allocations: 4 kB / 0.7974 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.01734, allocations: 38.05 kB / 0.7975 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.01734, allocations: 0 / 0.7975 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.000516/0.01786, allocations: 214.2 kB / 0.7977 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.0179, allocations: 55.41 kB / 0.7977 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.01836, allocations: 443.4 kB / 0.7982 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01839, allocations: 29.7 kB / 0.7982 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.0186, allocations: 304.8 kB / 0.7985 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.01867, allocations: 83.28 kB / 0.7985 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.01877, allocations: 59.62 kB / 0.7986 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.01897, allocations: 0.5196 MB / 0.7991 GB, free: 272 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.01909, allocations: 41.44 kB / 0.7992 GB, free: 232 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.01925, allocations: 134.3 kB / 0.7993 GB, free: 60 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.01957, allocations: 193.3 kB / 0.7995 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01957, allocations: 0 / 0.7995 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004353/0.02001, allocations: 242.6 kB / 0.7997 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.02002, allocations: 4 kB / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.02003, allocations: 5.344 kB / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.02005, allocations: 4 kB / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.0203, allocations: 63.89 kB / 0.7998 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.02031, allocations: 5.875 kB / 0.7998 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.02046, allocations: 23.84 kB / 0.7998 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.02049, allocations: 15.92 kB / 0.7998 GB, free: 15.48 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.0001514/0.02064, allocations: 180.3 kB / 0.8 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.02072, allocations: 56.81 kB / 0.8 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.783e-05/0.02081, allocations: 44.11 kB / 0.8001 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02081, allocations: 1.094 kB / 0.8001 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.02082, allocations: 4 kB / 0.8001 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.02083, allocations: 3.984 kB / 0.8001 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.02123, allocations: 317 kB / 0.8004 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02123, allocations: 0 / 0.8004 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.02144, allocations: 40.5 kB / 0.8004 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02145, allocations: 0.7812 kB / 0.8004 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.02147, allocations: 8 kB / 0.8004 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.02148, allocations: 7.281 kB / 0.8004 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02148, allocations: 0 / 0.8004 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.02202, allocations: 389.7 kB / 0.8008 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.02213, allocations: 63.62 kB / 0.8009 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.02218, allocations: 8 kB / 0.8009 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.02233, allocations: 11.98 kB / 0.8009 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.0224, allocations: 11.97 kB / 0.8009 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.02242, allocations: 9.594 kB / 0.8009 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002932/0.02271, allocations: 291 kB / 0.8012 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02271, allocations: 0 / 0.8012 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003782/0.02309, allocations: 71.78 kB / 0.8013 GB, free: 13.94 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.0001131/0.0232, allocations: 104.2 kB / 0.8014 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.02354, allocations: 142.9 kB / 0.8015 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02354, allocations: 128 / 0.8015 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.02368, allocations: 83.03 kB / 0.8016 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.02432, allocations: 133 kB / 0.8017 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.02587, allocations: 0.6937 MB / 0.8024 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.959e-05/0.02596, allocations: 101.3 kB / 0.8025 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.02615, allocations: 55.25 kB / 0.8025 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.02625, allocations: 32.48 kB / 0.8026 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/0.02625, allocations: 0 / 0.8026 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of Templates: time 0.009197/0.03545, allocations: 4.075 MB / 0.8065 GB, free: 8.594 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.099668686976656]