Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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.001274/0.001274, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001488/0.001488, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.9798/0.9798, allocations: 177.1 MB / 203.7 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.343/2.343, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.8898 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.787e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002098/0.002126, allocations: 1.102 MB / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003363, allocations: 1.073 MB / 0.8919 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.003483, allocations: 4 kB / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.003538, allocations: 23.67 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.003677, allocations: 39.67 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.003979, allocations: 91.78 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.00422, allocations: 228.2 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.004431, allocations: 96.59 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.004811, allocations: 163.5 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.004911, allocations: 55.8 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.004946, allocations: 24 kB / 0.8926 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.005021, allocations: 20 kB / 0.8926 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.005061, allocations: 51.83 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.005112, allocations: 63.83 kB / 0.8927 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.00535, allocations: 155.3 kB / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005354, allocations: 0 / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005355, allocations: 0 / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.00536, allocations: 0 / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005187/0.005879, allocations: 0.5156 MB / 0.8934 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.005924, allocations: 8.625 kB / 0.8934 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.006062, allocations: 48.78 kB / 0.8934 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.006269, allocations: 208 kB / 0.8936 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.006301, allocations: 16.88 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.00632, allocations: 20.38 kB / 0.8937 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.006561, allocations: 153.3 kB / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006569, allocations: 192 / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.006583, allocations: 8.375 kB / 0.8938 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006592, allocations: 4.375 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.006675, allocations: 67.38 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.007239, allocations: 0.4915 MB / 0.8944 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.007389, allocations: 103.2 kB / 0.8945 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.007425, allocations: 31.67 kB / 0.8945 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.007445, allocations: 4 kB / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.00747, allocations: 37.39 kB / 0.8945 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/0.007471, allocations: 0 / 0.8945 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0002073/0.007679, allocations: 131.4 kB / 0.8947 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.007713, allocations: 51.41 kB / 0.8947 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.007849, allocations: 234.8 kB / 0.8949 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.007867, allocations: 37.7 kB / 0.895 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.00795, allocations: 191.1 kB / 0.8952 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.007982, allocations: 47.62 kB / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.008043, allocations: 63.31 kB / 0.8953 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.008185, allocations: 0.5039 MB / 0.8958 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.008226, allocations: 15.98 kB / 0.8958 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.008287, allocations: 75.92 kB / 0.8958 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.008384, allocations: 104.1 kB / 0.8959 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.008386, allocations: 0 / 0.8959 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001508/0.008537, allocations: 137.3 kB / 0.8961 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.008552, allocations: 8 kB / 0.8961 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008558, allocations: 0 / 0.8961 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.00857, allocations: 4 kB / 0.8961 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.008674, allocations: 32.02 kB / 0.8961 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.008679, allocations: 7.984 kB / 0.8961 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.008724, allocations: 19.89 kB / 0.8961 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.008731, allocations: 4 kB / 0.8961 GB, free: 2.863 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001051/0.008836, allocations: 189.2 kB / 0.8963 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.008864, allocations: 23.91 kB / 0.8963 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.008895, allocations: 21.8 kB / 0.8964 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.008898, allocations: 4 kB / 0.8964 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008903, allocations: 3.938 kB / 0.8964 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008906, allocations: 4 kB / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.009069, allocations: 157.1 kB / 0.8965 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009072, allocations: 0 / 0.8965 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.009129, allocations: 19.98 kB / 0.8965 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009132, allocations: 0 / 0.8965 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.009141, allocations: 8 kB / 0.8966 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009142, allocations: 0 / 0.8966 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009143, allocations: 0 / 0.8966 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.009326, allocations: 265.8 kB / 0.8968 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.009342, allocations: 15.84 kB / 0.8968 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.009356, allocations: 12 kB / 0.8968 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.009402, allocations: 4 kB / 0.8968 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.009458, allocations: 23.95 kB / 0.8969 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.009465, allocations: 4 kB / 0.8969 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.009531, allocations: 156.6 kB / 0.897 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009531, allocations: 0 / 0.897 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001922/0.009723, allocations: 43.89 kB / 0.8971 GB, free: 1.879 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001181/0.009841, allocations: 103.2 kB / 0.8972 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.009981, allocations: 87.48 kB / 0.8972 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009983, allocations: 0 / 0.8972 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.01004, allocations: 61.3 kB / 0.8973 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01026, allocations: 27.92 kB / 0.8973 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.01084, allocations: 327 kB / 0.8976 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01089, allocations: 75.98 kB / 0.8977 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.463e-05/0.01095, allocations: 21.48 kB / 0.8977 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.01104, allocations: 98.19 kB / 0.8978 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.01104, allocations: 0 / 0.8978 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of Templates: time 0.003529/0.01457, allocations: 1.626 MB / 0.8994 GB, free: 15.48 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.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.2615718357265]