Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.008595/0.008595, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001502/0.001502, allocations: 198 kB / 16.68 MB, free: 5.969 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.927/2.927, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 59.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4176, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003627/0.4213, allocations: 1.142 MB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.423, allocations: 1.018 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.4232, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.4233, allocations: 31.66 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.4236, allocations: 27.75 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.424, allocations: 87.84 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.4244, allocations: 228.2 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.4248, allocations: 104.6 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.4251, allocations: 91.58 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.4253, allocations: 99.53 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.4254, allocations: 24 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.4254, allocations: 24 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.415e-05/0.4255, allocations: 55.84 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.4257, allocations: 107.4 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.4261, allocations: 306.6 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4261, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4261, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.4261, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 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.001128/0.4273, allocations: 0.495 MB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.53e-05/0.4273, allocations: 8.031 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.4275, allocations: 28.8 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.4282, allocations: 288.2 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.4283, allocations: 12.81 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.4283, allocations: 24.38 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.4289, allocations: 195.8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.4289, allocations: 192 / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.429, allocations: 15.94 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.429, allocations: 8 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.4294, allocations: 157.6 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4308, allocations: 0.5841 MB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.4312, allocations: 154.6 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.4314, allocations: 60.83 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4315, allocations: 0 / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.4315, allocations: 38.47 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 2.484e-06/0.4315, allocations: 0 / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0007055/0.4322, allocations: 215.5 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.4323, allocations: 55.41 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.4325, allocations: 194.7 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4325, allocations: 29.64 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4327, allocations: 144.4 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.4327, allocations: 43.66 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.4329, allocations: 57.69 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.433, allocations: 326.8 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.4332, allocations: 51.95 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.4334, allocations: 98.23 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.4338, allocations: 148.9 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4338, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004503/0.4342, allocations: 203.3 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4343, allocations: 8 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4343, allocations: 0 / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4343, allocations: 4 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.4345, allocations: 35.91 kB / 1.227 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4345, allocations: 4.156 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4347, allocations: 31.83 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.4347, allocations: 8 kB / 1.227 GB, free: 6.551 MB / 0.9825 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.0001932/0.4349, allocations: 142.2 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.4349, allocations: 19.84 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.435, allocations: 25.86 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.435, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.435, allocations: 4 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.435, allocations: 0 / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.4353, allocations: 269.5 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4353, allocations: 0 / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.4355, allocations: 23.92 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4355, allocations: 7.938 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4355, allocations: 7.984 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4355, allocations: 0 / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.4355, allocations: 3.984 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.4359, allocations: 261.5 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.436, allocations: 92.95 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.436, allocations: 7.984 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4361, allocations: 8 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.4362, allocations: 23.97 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4362, allocations: 4 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001061/0.4363, allocations: 119.2 kB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4363, allocations: 4 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000292/0.4366, allocations: 39.84 kB / 1.228 GB, free: 5.418 MB / 0.9825 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.000176/0.4368, allocations: 117.2 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.4373, allocations: 144 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4373, allocations: 0 / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.4375, allocations: 75.83 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.4378, allocations: 29.61 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.4386, allocations: 350.7 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4389, allocations: 0.732 MB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.439, allocations: 25.52 kB / 1.23 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.4391, allocations: 23.44 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.4391, allocations: 0 / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.005789/0.4449, allocations: 1.494 MB / 1.231 GB, free: 2.445 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches