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.009516/0.009516, allocations: 100.8 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.002466/0.002466, allocations: 202.2 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.435/2.435, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 64.25 kB / 0.9509 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3811, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003065/0.3842, allocations: 1.118 MB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3859, allocations: 1.002 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.3861, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.3863, allocations: 23.67 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3865, allocations: 31.73 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3868, allocations: 83.84 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.3871, allocations: 216.2 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.3874, allocations: 124.2 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.3877, allocations: 91.58 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.3879, allocations: 95.53 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.3879, allocations: 24 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-05/0.388, allocations: 20 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.388, allocations: 55.83 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3882, allocations: 99.47 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.3885, allocations: 290.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3885, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3886, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.3886, allocations: 0 / 1.091 GB, free: 14.23 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.0009278/0.3895, allocations: 498.8 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3896, allocations: 8.031 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.3896, allocations: 24.8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.3903, allocations: 280.4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.3903, allocations: 12.81 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3903, allocations: 20.38 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.3908, allocations: 187.2 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3908, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3909, allocations: 8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3909, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.3913, allocations: 153.6 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/0.3923, allocations: 0.561 MB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.3926, allocations: 130.7 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.3928, allocations: 60.83 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3929, allocations: 7.938 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3929, allocations: 34.5 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.3929, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006654/0.3936, allocations: 213.4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.3937, allocations: 51.41 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.3939, allocations: 183.8 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3939, allocations: 29.64 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3941, allocations: 140.4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.3942, allocations: 47.64 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3943, allocations: 49.69 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3944, allocations: 326.8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.3946, allocations: 51.97 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3948, allocations: 101 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.3951, allocations: 135.6 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3952, allocations: 3.938 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004491/0.3956, allocations: 185.3 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3956, allocations: 5.406 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3957, allocations: 7.938 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3957, allocations: 0 / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3959, allocations: 39.91 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3959, allocations: 4.156 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.396, allocations: 23.88 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.3961, allocations: 8 kB / 1.095 GB, free: 10.43 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.0001474/0.3962, allocations: 138.3 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.3963, allocations: 15.91 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.3963, allocations: 25.45 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3964, allocations: 4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3964, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3964, allocations: 4 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.3967, allocations: 257.5 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3967, allocations: 0 / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3968, allocations: 27.97 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3969, allocations: 0 / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3969, allocations: 7.938 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3969, allocations: 4 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3969, allocations: 3.984 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.3974, allocations: 262.3 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3974, allocations: 92.95 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3975, allocations: 7.938 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3976, allocations: 7.984 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.3977, allocations: 19.98 kB / 1.095 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3977, allocations: 4 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.312e-05/0.3978, allocations: 123.2 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3978, allocations: 0 / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003002/0.3981, allocations: 35.89 kB / 1.096 GB, free: 9.324 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.0001744/0.3983, allocations: 112.4 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3987, allocations: 136.1 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3987, allocations: 4 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3989, allocations: 75.83 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3993, allocations: 16 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.4001, allocations: 333.9 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.4006, allocations: 0.7319 MB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.4007, allocations: 17.55 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.4008, allocations: 19.44 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of SimCode: time 1.432e-06/0.4008, allocations: 0 / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.005518/0.4063, allocations: 1.452 MB / 1.098 GB, free: 6.434 MB / 0.8575 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/jenkins/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