Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 113.5 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 192.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.78 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3206, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002579/0.3232, allocations: 1.143 MB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3243, allocations: 1.022 MB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.3245, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.979e-05/0.3245, allocations: 23.67 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3247, allocations: 35.67 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3249, allocations: 87.84 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.3251, allocations: 224.2 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.3254, allocations: 124.1 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3256, allocations: 99.58 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3258, allocations: 103.5 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.3258, allocations: 24 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.051e-05/0.3258, allocations: 24 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.3259, allocations: 55.83 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.326, allocations: 99.47 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.3263, allocations: 302.8 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3263, allocations: 0 / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3263, allocations: 0 / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3263, allocations: 3.938 kB / 1.03 GB, free: 14.64 MB / 0.8106 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.0007441/0.3271, allocations: 0.4953 MB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3271, allocations: 8.031 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3272, allocations: 28.56 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.3277, allocations: 276.3 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3277, allocations: 20.75 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3278, allocations: 20.38 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.3282, allocations: 199.8 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3282, allocations: 192 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.3282, allocations: 11.94 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3282, allocations: 4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.3286, allocations: 153.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.3295, allocations: 0.6072 MB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.3298, allocations: 150.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.33, allocations: 68.81 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.33, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.33, allocations: 38.56 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.3301, allocations: 3.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005893/0.3306, allocations: 215.3 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3307, allocations: 51.41 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3309, allocations: 187.2 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3309, allocations: 33.7 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.331, allocations: 132.2 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.331, allocations: 51.36 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.3311, allocations: 57.62 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3312, allocations: 326.8 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3314, allocations: 55.95 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3316, allocations: 106.2 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3319, allocations: 140.9 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3319, allocations: 0 / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004128/0.3323, allocations: 195.6 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3324, allocations: 8.156 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3324, allocations: 4 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3324, allocations: 3.984 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3326, allocations: 31.92 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3326, allocations: 4 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3327, allocations: 23.83 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3327, allocations: 4 kB / 1.034 GB, free: 10.72 MB / 0.8106 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 0.0001746/0.3329, allocations: 145.7 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.333, allocations: 23.73 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.333, allocations: 17.88 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.333, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.333, allocations: 4 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.333, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3333, allocations: 281.3 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3334, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3335, allocations: 23.97 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3335, allocations: 8 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3335, allocations: 4 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3335, allocations: 0 / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3335, allocations: 4 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.3339, allocations: 259.2 kB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.334, allocations: 96.86 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.334, allocations: 7.984 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3342, allocations: 11.98 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.3342, allocations: 19.97 kB / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3343, allocations: 4 kB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.3343, allocations: 123.2 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3343, allocations: 0 / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000278/0.3346, allocations: 35.84 kB / 1.035 GB, free: 9.582 MB / 0.8106 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.0001428/0.3348, allocations: 116.2 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.3352, allocations: 153.7 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3352, allocations: 0 / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3354, allocations: 79.89 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3357, allocations: 24.95 kB / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.3364, allocations: 343.6 kB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3367, allocations: 0.7358 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.437e-05/0.3368, allocations: 17.55 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.3369, allocations: 23.44 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3369, allocations: 0 / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of Templates: time 0.004738/0.3416, allocations: 1.48 MB / 1.038 GB, free: 6.629 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches