Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009303/0.009303, allocations: 103 kB / 15.73 MB, free: 6.043 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.001831/0.001831, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.722/2.722, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 60.22 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3889, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002678/0.3916, allocations: 1.12 MB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3929, allocations: 1.006 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.393, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.472e-05/0.3931, allocations: 27.61 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3933, allocations: 23.73 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3935, allocations: 83.84 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3937, allocations: 216.2 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.394, allocations: 124.2 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3942, allocations: 87.59 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3943, allocations: 103.5 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.3944, allocations: 24 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.112e-05/0.3944, allocations: 24 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.3945, allocations: 47.84 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3946, allocations: 95.47 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.3949, allocations: 290.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3949, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3949, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3949, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007498/0.3957, allocations: 495.1 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3957, allocations: 12.03 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.3958, allocations: 20.66 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.3963, allocations: 272.3 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3963, allocations: 12.81 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.3963, allocations: 20.38 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.3967, allocations: 195.2 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3967, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3968, allocations: 8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3968, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.3972, allocations: 149.6 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.398, allocations: 0.5764 MB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.3983, allocations: 125.1 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.3985, allocations: 68.77 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3985, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.3985, allocations: 38.5 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3985, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005832/0.3991, allocations: 209.3 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3992, allocations: 55.41 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3994, allocations: 183.7 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3994, allocations: 25.7 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3995, allocations: 140.3 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3996, allocations: 39.45 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.3997, allocations: 53.69 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3998, allocations: 326.8 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.4, allocations: 51.97 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.4002, allocations: 98.42 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.4005, allocations: 147.7 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4005, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003777/0.4009, allocations: 177.3 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4009, allocations: 8 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4009, allocations: 8.094 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4009, allocations: 4 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4011, allocations: 35.91 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4011, allocations: 4 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4012, allocations: 19.83 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4013, allocations: 8 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001247/0.4014, allocations: 138.3 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.4014, allocations: 19.81 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.4015, allocations: 25.47 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4015, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4015, allocations: 3.984 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4015, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4018, allocations: 257.5 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4018, allocations: 4 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4019, allocations: 27.97 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4019, allocations: 0 / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4019, allocations: 3.938 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4019, allocations: 4 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.402, allocations: 0 / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.4023, allocations: 251.2 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.4024, allocations: 92.91 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4024, allocations: 7.938 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4025, allocations: 12 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.4026, allocations: 23.97 kB / 1.095 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4027, allocations: 4 kB / 1.095 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.843e-05/0.4027, allocations: 119.2 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4028, allocations: 0 / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002634/0.403, allocations: 35.84 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001467/0.4032, allocations: 115.2 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.4036, allocations: 147.1 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4036, allocations: 0 / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.4038, allocations: 75.89 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4041, allocations: 19.88 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.4048, allocations: 323.7 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4051, allocations: 0.7318 MB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.458e-05/0.4052, allocations: 25.53 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.4052, allocations: 23.44 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/0.4052, allocations: 0 / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.004857/0.4101, allocations: 1.478 MB / 1.098 GB, free: 6.383 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches