Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.DualDuctMixConInletSensor.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_10_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.746/2.746, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 15.92 kB / 0.8736 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7896, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.00149/0.7912, allocations: 0.8124 MB / 1.025 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.7924, allocations: 0.9947 MB / 1.026 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.7925, allocations: 4 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.7925, allocations: 11.86 kB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.7927, allocations: 19.81 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.7929, allocations: 67.94 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.7931, allocations: 204.2 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.7934, allocations: 113.4 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.7935, allocations: 63.58 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.7936, allocations: 67.56 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.7937, allocations: 8 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.7937, allocations: 8 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.7937, allocations: 31.84 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.7938, allocations: 97.17 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.794, allocations: 205.4 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.794, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7941, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7941, allocations: 4 kB / 1.026 GB, free: 13.16 MB / 0.7794 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.0006438/0.7947, allocations: 471.2 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7948, allocations: 8.031 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.7948, allocations: 24.66 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.7953, allocations: 284.2 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.7953, allocations: 20.81 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.7954, allocations: 16.38 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.7958, allocations: 199.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7958, allocations: 3.938 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.7958, allocations: 8 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7958, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.7963, allocations: 165.7 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.7971, allocations: 0.5647 MB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.7974, allocations: 138.6 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.7976, allocations: 68.77 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.7977, allocations: 0 / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7977, allocations: 30.56 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.7977, allocations: 11.98 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006134/0.7983, allocations: 219.5 kB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.7984, allocations: 63.33 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.7985, allocations: 174.3 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.7986, allocations: 29.7 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.7987, allocations: 140.2 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.7987, allocations: 47.39 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.7988, allocations: 29.7 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7989, allocations: 326.8 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7991, allocations: 63.95 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.7993, allocations: 98.48 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.7996, allocations: 153 kB / 1.03 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7996, allocations: 0 / 1.03 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004295/0.8001, allocations: 199.1 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8001, allocations: 8 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8001, allocations: 0 / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8001, allocations: 7.984 kB / 1.03 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.8003, allocations: 31.92 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.8004, allocations: 8.094 kB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.8005, allocations: 27.83 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.8005, allocations: 8 kB / 1.03 GB, free: 9.309 MB / 0.7794 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.0001204/0.8006, allocations: 135 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.8007, allocations: 11.89 kB / 1.03 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.8007, allocations: 21.53 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8007, allocations: 7.938 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8007, allocations: 4 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8007, allocations: 3.938 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.801, allocations: 265.5 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.801, allocations: 0 / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.8012, allocations: 27.92 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8012, allocations: 0 / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8012, allocations: 3.984 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8012, allocations: 3.938 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8012, allocations: 0 / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.8016, allocations: 263.2 kB / 1.031 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.8017, allocations: 96.86 kB / 1.031 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.8017, allocations: 4 kB / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.8018, allocations: 15.92 kB / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.8019, allocations: 23.97 kB / 1.031 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.8019, allocations: 11.88 kB / 1.031 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.097e-05/0.802, allocations: 121.8 kB / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.802, allocations: 0 / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002653/0.8023, allocations: 35.84 kB / 1.031 GB, free: 8.188 MB / 0.7794 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.0001196/0.8024, allocations: 111.2 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.8029, allocations: 153.1 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8029, allocations: 0 / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.8031, allocations: 75.89 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.8034, allocations: 16.84 kB / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.8041, allocations: 434.1 kB / 1.032 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.8044, allocations: 0.7244 MB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.8044, allocations: 19.44 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of SimCode: time 1.774e-06/0.8044, allocations: 4 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of Templates: time 0.003682/0.8081, allocations: 2.046 MB / 1.034 GB, free: 4.566 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches