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.001054/0.001054, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001056/0.001056, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9832/0.9832, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.707/1.707, allocations: 359 MB / 0.6052 GB, free: 11.01 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.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.211e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003186/0.003209, allocations: 3.039 MB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.004781, allocations: 1.168 MB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.005001, allocations: 23.81 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.005223, allocations: 95.7 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.005387, allocations: 118.2 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.005912, allocations: 362.8 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.006367, allocations: 0.6479 MB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.006608, allocations: 158.4 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.006959, allocations: 327.1 kB / 0.7929 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.007119, allocations: 151.4 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.007172, allocations: 52 kB / 0.7931 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.007247, allocations: 56 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.007305, allocations: 116.1 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.007397, allocations: 143.5 kB / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.007748, allocations: 379.1 kB / 0.7937 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007751, allocations: 1.656 kB / 0.7937 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007752, allocations: 4 kB / 0.7937 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.007757, allocations: 0 / 0.7937 GB, free: 5.688 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.000818/0.008575, allocations: 0.8444 MB / 0.7946 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.008614, allocations: 12.03 kB / 0.7946 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.008847, allocations: 106.1 kB / 0.7947 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.009392, allocations: 0.4976 MB / 0.7952 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.009411, allocations: 21.03 kB / 0.7952 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.009456, allocations: 32.38 kB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.00984, allocations: 361.5 kB / 0.7956 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.00985, allocations: 8.656 kB / 0.7956 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.009874, allocations: 12.38 kB / 0.7956 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.009886, allocations: 13.28 kB / 0.7956 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.01007, allocations: 112.5 kB / 0.7957 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.01115, allocations: 1.561 MB / 0.7972 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.01147, allocations: 164.8 kB / 0.7974 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.01157, allocations: 69.38 kB / 0.7974 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.0116, allocations: 5.219 kB / 0.7974 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.01162, allocations: 41.38 kB / 0.7975 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.883e-06/0.01162, allocations: 0 / 0.7975 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0003642/0.01199, allocations: 220.1 kB / 0.7977 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.01202, allocations: 56.47 kB / 0.7977 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.01234, allocations: 434.6 kB / 0.7982 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.01246, allocations: 34.8 kB / 0.7982 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.01261, allocations: 307.2 kB / 0.7985 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.01265, allocations: 83.27 kB / 0.7986 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.01272, allocations: 64.47 kB / 0.7986 GB, free: 432 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.01287, allocations: 0.5196 MB / 0.7991 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.01294, allocations: 38.75 kB / 0.7992 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.01305, allocations: 134.3 kB / 0.7993 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.01325, allocations: 190.2 kB / 0.7995 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01325, allocations: 0 / 0.7995 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002853/0.01354, allocations: 248.3 kB / 0.7997 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01355, allocations: 4.562 kB / 0.7997 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01356, allocations: 4 kB / 0.7997 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.01357, allocations: 4.5 kB / 0.7997 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01373, allocations: 57.38 kB / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01374, allocations: 7.984 kB / 0.7998 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.01382, allocations: 23.84 kB / 0.7998 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01383, allocations: 13 kB / 0.7998 GB, free: 15.11 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.0001123/0.01395, allocations: 184.3 kB / 0.8 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.014, allocations: 56.81 kB / 0.8001 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.01406, allocations: 44.11 kB / 0.8001 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01406, allocations: 4 kB / 0.8001 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01407, allocations: 4.656 kB / 0.8001 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01407, allocations: 13.06 kB / 0.8001 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.01432, allocations: 308.3 kB / 0.8004 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01432, allocations: 0 / 0.8004 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01444, allocations: 43.83 kB / 0.8005 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01445, allocations: 3.984 kB / 0.8005 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.01446, allocations: 8 kB / 0.8005 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01447, allocations: 0 / 0.8005 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01447, allocations: 0 / 0.8005 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.01484, allocations: 385.8 kB / 0.8008 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.01491, allocations: 63.62 kB / 0.8009 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01494, allocations: 8 kB / 0.8009 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.01502, allocations: 7.984 kB / 0.8009 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.01507, allocations: 16.91 kB / 0.8009 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.01508, allocations: 11.94 kB / 0.8009 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001848/0.01526, allocations: 292.1 kB / 0.8012 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01526, allocations: 0 / 0.8012 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002031/0.01547, allocations: 67.78 kB / 0.8013 GB, free: 13.57 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 8.164e-05/0.01555, allocations: 104.3 kB / 0.8014 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.01577, allocations: 141.5 kB / 0.8015 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01578, allocations: 0 / 0.8015 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.01586, allocations: 79.47 kB / 0.8016 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.01627, allocations: 137.2 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.01729, allocations: 0.6898 MB / 0.8024 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.01735, allocations: 105.3 kB / 0.8025 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.01747, allocations: 55.25 kB / 0.8026 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.01753, allocations: 32.48 kB / 0.8026 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of SimCode: time 6.32e-07/0.01754, allocations: 0 / 0.8026 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.006373/0.02391, allocations: 4.072 MB / 0.8066 GB, free: 8.23 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.101807294879109]