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.0008886/0.0008886, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0008979/0.0008979, allocations: 181.3 kB / 24.09 MB, free: 420 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.8788/0.8788, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.63/1.63, allocations: 359 MB / 0.6055 GB, free: 10.86 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 1.192e-06/1.192e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.563e-05, allocations: 6.062 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00284/0.002855, allocations: 2.957 MB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004181, allocations: 1.161 MB / 0.7916 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.004366, allocations: 23.81 kB / 0.7916 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.004563, allocations: 99 kB / 0.7917 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.00472, allocations: 118.7 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.005172, allocations: 347.4 kB / 0.7921 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.005594, allocations: 0.6531 MB / 0.7928 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.005801, allocations: 158.4 kB / 0.7929 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.006123, allocations: 342.9 kB / 0.7933 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.006255, allocations: 146.3 kB / 0.7934 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.006303, allocations: 48 kB / 0.7934 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.006366, allocations: 52 kB / 0.7935 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.006418, allocations: 103.5 kB / 0.7936 GB, free: 6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.006495, allocations: 131.6 kB / 0.7937 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.006777, allocations: 362.4 kB / 0.7941 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006779, allocations: 0 / 0.7941 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00678, allocations: 4.719 kB / 0.7941 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006783, allocations: 0 / 0.7941 GB, free: 5.512 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.0006974/0.007481, allocations: 0.8328 MB / 0.7949 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.00751, allocations: 12.03 kB / 0.7949 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.007695, allocations: 106.3 kB / 0.795 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.008138, allocations: 497.1 kB / 0.7955 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.008154, allocations: 21.03 kB / 0.7955 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.008189, allocations: 36.33 kB / 0.7955 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.008491, allocations: 346.1 kB / 0.7958 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.008499, allocations: 192 / 0.7959 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.008518, allocations: 12.38 kB / 0.7959 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.008526, allocations: 11.94 kB / 0.7959 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.00864, allocations: 89.78 kB / 0.796 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.009522, allocations: 1.492 MB / 0.7974 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.00975, allocations: 155.8 kB / 0.7976 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.009848, allocations: 75.03 kB / 0.7976 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.009871, allocations: 11.98 kB / 0.7976 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.009889, allocations: 38.55 kB / 0.7977 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.172e-06/0.00989, allocations: 0 / 0.7977 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0002543/0.01014, allocations: 197.9 kB / 0.7979 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.01017, allocations: 55.41 kB / 0.7979 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.01042, allocations: 439.3 kB / 0.7983 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.01043, allocations: 33.7 kB / 0.7984 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.01056, allocations: 299.2 kB / 0.7987 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.01061, allocations: 88.56 kB / 0.7987 GB, free: 500 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.01067, allocations: 67.59 kB / 0.7988 GB, free: 420 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.01082, allocations: 0.5273 MB / 0.7993 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.01086, allocations: 29.36 kB / 0.7994 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.01095, allocations: 126.7 kB / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.01109, allocations: 173.4 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01109, allocations: 4 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002103/0.0113, allocations: 230.7 kB / 0.7999 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.01131, allocations: 4 kB / 0.7999 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01132, allocations: 4.625 kB / 0.7999 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01133, allocations: 7.984 kB / 0.7999 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.01147, allocations: 56.41 kB / 0.7999 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01147, allocations: 5.344 kB / 0.7999 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.01155, allocations: 23.84 kB / 0.8 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.01156, allocations: 15.98 kB / 0.8 GB, free: 15.14 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.conHeaCoi.I.trigger_internal,conHeaFan.conFan.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 9.904e-05/0.01166, allocations: 173.5 kB / 0.8001 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.01171, allocations: 55.61 kB / 0.8002 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.01177, allocations: 52.77 kB / 0.8002 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01177, allocations: 4.641 kB / 0.8003 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.01177, allocations: 0 / 0.8003 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01177, allocations: 2.5 kB / 0.8003 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.01198, allocations: 245 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01198, allocations: 0 / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.0121, allocations: 51.91 kB / 0.8005 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.0121, allocations: 3.938 kB / 0.8005 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01211, allocations: 7.938 kB / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01211, allocations: 6.844 kB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01211, allocations: 0 / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.0124, allocations: 357.6 kB / 0.8009 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.01247, allocations: 67.58 kB / 0.801 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01249, allocations: 11.94 kB / 0.801 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.01257, allocations: 7.984 kB / 0.801 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.0126, allocations: 16.91 kB / 0.801 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01261, allocations: 8 kB / 0.801 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001399/0.01275, allocations: 280.1 kB / 0.8013 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01275, allocations: 0 / 0.8013 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000193/0.01294, allocations: 67.78 kB / 0.8013 GB, free: 13.7 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 7.629e-05/0.01302, allocations: 108.3 kB / 0.8014 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.01317, allocations: 121.1 kB / 0.8016 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01317, allocations: 0 / 0.8016 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.01324, allocations: 71.27 kB / 0.8016 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.01359, allocations: 142.8 kB / 0.8018 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.01453, allocations: 0.6866 MB / 0.8024 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.01459, allocations: 101.3 kB / 0.8025 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.01471, allocations: 55.23 kB / 0.8026 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.01487, allocations: 154.1 kB / 0.8027 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of SimCode: time 9.11e-07/0.01487, allocations: 0 / 0.8027 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.006231/0.0211, allocations: 4.408 MB / 0.807 GB, free: 7.938 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: 4.512562020216137]