Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001201/0.001201, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001287/0.001287, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9201/0.9201, allocations: 177.1 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.689/1.689, allocations: 377.9 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.239e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001604/0.001626, allocations: 1.082 MB / 0.9833 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.002788, allocations: 1.045 MB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.002864, allocations: 0 / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.002912, allocations: 23.67 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.003017, allocations: 39.66 kB / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.00326, allocations: 91.78 kB / 0.9845 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.003427, allocations: 224.2 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.003599, allocations: 96.62 kB / 0.9848 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.003812, allocations: 143.6 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.003897, allocations: 71.72 kB / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.003927, allocations: 24 kB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.003977, allocations: 32 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.004009, allocations: 55.81 kB / 0.9851 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.004053, allocations: 63.83 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.004323, allocations: 322.8 kB / 0.9854 GB, free: 14.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004325, allocations: 0 / 0.9854 GB, free: 14.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004327, allocations: 0 / 0.9854 GB, free: 14.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004332, allocations: 0 / 0.9854 GB, free: 14.76 MB / 0.948 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.0005115/0.004843, allocations: 437.7 kB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.004881, allocations: 12.03 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.004994, allocations: 32.78 kB / 0.9859 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.005299, allocations: 217.8 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.005317, allocations: 20.88 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.005336, allocations: 16.38 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.005592, allocations: 204.6 kB / 0.9863 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.0056, allocations: 192 / 0.9863 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.005615, allocations: 4.375 kB / 0.9863 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005623, allocations: 8.375 kB / 0.9864 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.005852, allocations: 157.8 kB / 0.9865 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.006382, allocations: 491.4 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.006618, allocations: 150.6 kB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.00671, allocations: 60.81 kB / 0.9872 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.006729, allocations: 7.984 kB / 0.9872 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.006749, allocations: 30.56 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.00675, allocations: 0 / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0003646/0.007114, allocations: 217.3 kB / 0.9874 GB, free: 12.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.007145, allocations: 55.41 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.007261, allocations: 191.2 kB / 0.9877 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.007274, allocations: 25.7 kB / 0.9877 GB, free: 12.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.007347, allocations: 148.5 kB / 0.9878 GB, free: 12.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.007378, allocations: 47.58 kB / 0.9879 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.007431, allocations: 57.64 kB / 0.9879 GB, free: 12.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.00751, allocations: 326.8 kB / 0.9882 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.0076, allocations: 59.95 kB / 0.9883 GB, free: 11.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.007707, allocations: 99.36 kB / 0.9884 GB, free: 11.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.007886, allocations: 151.2 kB / 0.9885 GB, free: 11.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007889, allocations: 0 / 0.9885 GB, free: 11.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002384/0.008127, allocations: 189.4 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.00814, allocations: 4 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.008146, allocations: 7.984 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008158, allocations: 3.938 kB / 0.9887 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.008257, allocations: 27.98 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008264, allocations: 7.938 kB / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.008318, allocations: 28.03 kB / 0.9888 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.008327, allocations: 4 kB / 0.9888 GB, free: 11.12 MB / 0.948 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.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.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.763e-05/0.008424, allocations: 138.4 kB / 0.9889 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.008444, allocations: 15.91 kB / 0.9889 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.008471, allocations: 21.81 kB / 0.989 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.008474, allocations: 7.875 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008478, allocations: 4 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008481, allocations: 0 / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.008629, allocations: 189.1 kB / 0.9891 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.00863, allocations: 4 kB / 0.9892 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.008683, allocations: 23.97 kB / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008686, allocations: 4 kB / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.008694, allocations: 0 / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.008695, allocations: 0 / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008697, allocations: 3.938 kB / 0.9892 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.00893, allocations: 265.2 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.008949, allocations: 15.91 kB / 0.9895 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.008965, allocations: 8 kB / 0.9895 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.00902, allocations: 11.98 kB / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.009082, allocations: 27.91 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.009088, allocations: 4 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.009148, allocations: 124.2 kB / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009148, allocations: 0 / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001733/0.009321, allocations: 39.84 kB / 0.9897 GB, free: 10.18 MB / 0.948 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 8.425e-05/0.009406, allocations: 122.2 kB / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.009642, allocations: 143.7 kB / 0.9899 GB, free: 9.914 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.009644, allocations: 4 kB / 0.9899 GB, free: 9.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.009739, allocations: 74.23 kB / 0.99 GB, free: 9.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.009947, allocations: 20.3 kB / 0.99 GB, free: 9.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.01052, allocations: 360.1 kB / 0.9903 GB, free: 9.434 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.181e-05/0.0106, allocations: 117.2 kB / 0.9905 GB, free: 9.301 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.01065, allocations: 28.48 kB / 0.9905 GB, free: 9.273 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/0.01065, allocations: 4 kB / 0.9905 GB, free: 9.27 MB / 0.948 GB Notification: Performance of Templates: time 0.002621/0.01327, allocations: 2.23 MB / 0.9927 GB, free: 7.047 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.470146748237312]