Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00114/0.001141, allocations: 102.6 kB / 16.41 MB, free: 5.977 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.001172/0.001172, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.35/2.35, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001607, allocations: 63.89 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.979/0.9806, allocations: 140.4 MB / 1.089 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002571/0.9832, allocations: 1.124 MB / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.9846, allocations: 1.002 MB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.9847, allocations: 6.938 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.9848, allocations: 20.72 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.985, allocations: 32.28 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.9853, allocations: 74.97 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.9856, allocations: 222.1 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.9859, allocations: 113.6 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.9861, allocations: 91.61 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.9863, allocations: 100.4 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.9863, allocations: 22.38 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.9864, allocations: 22.78 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.9865, allocations: 50.28 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.9866, allocations: 102.6 kB / 1.092 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.987, allocations: 282.7 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.987, allocations: 0 / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.987, allocations: 0.9375 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.987, allocations: 0.7969 kB / 1.092 GB, free: 3.641 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.0008026/0.9879, allocations: 489.7 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.9879, allocations: 9.625 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.988, allocations: 24.59 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.9885, allocations: 278.8 kB / 1.093 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.9886, allocations: 12.72 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.9886, allocations: 21.28 kB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.9891, allocations: 195.8 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.9891, allocations: 0 / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.9892, allocations: 9.812 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.9892, allocations: 4.812 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.9896, allocations: 147.6 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.9906, allocations: 0.5648 MB / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.9909, allocations: 127.2 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.9911, allocations: 60.47 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.9912, allocations: 2.312 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.9912, allocations: 44.14 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.9912, allocations: 0 / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006438/0.9919, allocations: 201 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.9919, allocations: 57.12 kB / 1.094 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.9921, allocations: 186.2 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.9921, allocations: 27 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.9922, allocations: 144.8 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.9922, allocations: 40.56 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.9923, allocations: 49.75 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.9924, allocations: 322.9 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.9926, allocations: 53.53 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.9928, allocations: 94.91 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.9931, allocations: 139.3 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9931, allocations: 0 / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004415/0.9936, allocations: 184.9 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.9936, allocations: 5.438 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9936, allocations: 5.531 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.9936, allocations: 7.469 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.9938, allocations: 37.47 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.9939, allocations: 2.062 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.994, allocations: 19.75 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.994, allocations: 10.06 kB / 1.095 GB, free: 1.129 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.0001136/0.9941, allocations: 139 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.9942, allocations: 18.92 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.9942, allocations: 26.09 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.9942, allocations: 2.234 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9943, allocations: 0.6875 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9943, allocations: 1.312 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.9946, allocations: 255.6 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.9946, allocations: 0.625 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.9947, allocations: 29.78 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.9947, allocations: 0.9688 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.9947, allocations: 5.359 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.9948, allocations: 5.5 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9948, allocations: 4.781 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.9952, allocations: 247 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.9952, allocations: 93.3 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.9953, allocations: 9.219 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.9954, allocations: 16.38 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.9955, allocations: 22.66 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9955, allocations: 4.25 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.718e-05/0.9956, allocations: 122.3 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9956, allocations: 3.938 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002908/0.9959, allocations: 36 kB / 1.096 GB, free: 328 kB / 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.0001513/0.9961, allocations: 115.2 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.9965, allocations: 139.5 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9966, allocations: 0 / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.9968, allocations: 71.39 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.9971, allocations: 16.62 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.9979, allocations: 347.9 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.9982, allocations: 0.7296 MB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.9983, allocations: 24.97 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9983, allocations: 7.938 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.004863/1.003, allocations: 2.088 MB / 1.1 GB, free: 14.97 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches