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.0009301/0.0009301, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009908/0.0009908, allocations: 169 kB / 24.06 MB, free: 456 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.056/2.056, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 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 1.673e-06/1.673e-06, allocations: 0 / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.126e-05, allocations: 10.25 kB / 0.8794 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002415/0.002436, allocations: 1.111 MB / 0.8805 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.003884, allocations: 1.074 MB / 0.8816 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.00399, allocations: 4 kB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.031e-05/0.004051, allocations: 24.42 kB / 0.8816 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.004189, allocations: 36.17 kB / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.004453, allocations: 85.03 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.004685, allocations: 232.2 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.004904, allocations: 92.59 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.005223, allocations: 160.6 kB / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.005327, allocations: 63.8 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.005361, allocations: 20.66 kB / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.005422, allocations: 27.98 kB / 0.8823 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.005461, allocations: 44.5 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.005522, allocations: 59.83 kB / 0.8824 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005748, allocations: 155.3 kB / 0.8825 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005751, allocations: 0 / 0.8825 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005751, allocations: 4 kB / 0.8825 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.005755, allocations: 3.938 kB / 0.8825 GB, free: 2.801 MB / 0.8386 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.0005496/0.006305, allocations: 0.5118 MB / 0.883 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.00634, allocations: 12.03 kB / 0.883 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.006485, allocations: 44.78 kB / 0.8831 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.006707, allocations: 202 kB / 0.8833 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.006735, allocations: 20.88 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.006762, allocations: 21.77 kB / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.007024, allocations: 149.4 kB / 0.8835 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007035, allocations: 1.188 kB / 0.8835 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.007053, allocations: 8.375 kB / 0.8835 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.007061, allocations: 8.375 kB / 0.8835 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.007183, allocations: 68.38 kB / 0.8835 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.007798, allocations: 496.5 kB / 0.884 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.007986, allocations: 111 kB / 0.8841 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.008034, allocations: 32.8 kB / 0.8842 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.00805, allocations: 0 / 0.8842 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.008075, allocations: 37.39 kB / 0.8842 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.051e-06/0.008076, allocations: 0.7812 kB / 0.8842 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002585/0.008334, allocations: 134.5 kB / 0.8843 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.008365, allocations: 55.41 kB / 0.8844 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.008512, allocations: 239.3 kB / 0.8846 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.008527, allocations: 25.7 kB / 0.8846 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.008617, allocations: 191.2 kB / 0.8848 GB, free: 316 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.008656, allocations: 47.56 kB / 0.8849 GB, free: 268 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.008731, allocations: 59.31 kB / 0.8849 GB, free: 200 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.008895, allocations: 0.5039 MB / 0.8854 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.008938, allocations: 17.61 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/0.009023, allocations: 79.2 kB / 0.8855 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.009145, allocations: 110.6 kB / 0.8856 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009148, allocations: 0 / 0.8856 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001961/0.009344, allocations: 139.5 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.009356, allocations: 4 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.009361, allocations: 0 / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.009371, allocations: 4 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.009501, allocations: 40.69 kB / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009506, allocations: 4 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.009563, allocations: 16.58 kB / 0.8858 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.009572, allocations: 8 kB / 0.8858 GB, free: 15.22 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 9.388e-05/0.009666, allocations: 174.9 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.009694, allocations: 24.06 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.009721, allocations: 25.8 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.009722, allocations: 0 / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.009724, allocations: 3.938 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.009727, allocations: 0 / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.009861, allocations: 161.1 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.009862, allocations: 0 / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.009909, allocations: 19.98 kB / 0.8862 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.009911, allocations: 4 kB / 0.8862 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.009918, allocations: 4 kB / 0.8862 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.009919, allocations: 0 / 0.8862 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.009919, allocations: 0 / 0.8862 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.01007, allocations: 278.4 kB / 0.8865 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.01008, allocations: 15.84 kB / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.01009, allocations: 0 / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.01013, allocations: 8 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01018, allocations: 23.95 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.01018, allocations: 0 / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.01023, allocations: 163.1 kB / 0.8867 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01023, allocations: 0 / 0.8867 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001631/0.0104, allocations: 39.83 kB / 0.8867 GB, free: 14.24 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.0001045/0.0105, allocations: 115.2 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.01061, allocations: 83.48 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01061, allocations: 0 / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/0.01066, allocations: 55.58 kB / 0.887 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.01085, allocations: 28.58 kB / 0.887 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.01131, allocations: 333.7 kB / 0.8873 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.01134, allocations: 75.98 kB / 0.8874 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.214e-05/0.01141, allocations: 25.42 kB / 0.8874 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.01148, allocations: 94.19 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01148, allocations: 4 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.003245/0.01473, allocations: 1.651 MB / 0.8891 GB, free: 11.8 MB / 0.8542 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.288006505928934]