Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001758, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001862/0.001862, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.469/1.469, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.743 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.02 kB / 0.9093 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3867, allocations: 159.1 MB / 1.065 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003797/0.3906, allocations: 1.129 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3924, allocations: 1.022 MB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.3926, allocations: 4 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.602e-05/0.3927, allocations: 27.67 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3928, allocations: 19.73 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.3931, allocations: 91.78 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.3934, allocations: 224.2 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3937, allocations: 140 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.3939, allocations: 91.64 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.3941, allocations: 99.53 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.3942, allocations: 24 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.3942, allocations: 24 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.4e-05/0.3943, allocations: 59.77 kB / 1.068 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3944, allocations: 99.47 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.3948, allocations: 291.2 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3948, allocations: 3.938 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3948, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3949, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8419 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.0008936/0.3958, allocations: 499.1 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3958, allocations: 8.031 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.3959, allocations: 24.66 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.3965, allocations: 274.4 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.3965, allocations: 16.81 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.3965, allocations: 24.38 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.397, allocations: 195.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.397, allocations: 8.109 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.397, allocations: 15.94 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3971, allocations: 4 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.3975, allocations: 157.6 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.3985, allocations: 0.5995 MB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.3989, allocations: 154.6 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3991, allocations: 68.83 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3991, allocations: 7.984 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.3992, allocations: 34.56 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.3992, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006808/0.3999, allocations: 221.2 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3999, allocations: 51.41 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4001, allocations: 183.4 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.4002, allocations: 29.7 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4003, allocations: 152.1 kB / 1.071 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.4004, allocations: 43.39 kB / 1.071 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.4005, allocations: 49.7 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4006, allocations: 330.8 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.4008, allocations: 55.97 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.401, allocations: 105 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.4014, allocations: 143.1 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4014, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004578/0.4019, allocations: 193.2 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4019, allocations: 6.344 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4019, allocations: 8.156 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.402, allocations: 0 / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.4022, allocations: 39.91 kB / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4022, allocations: 4 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.4023, allocations: 19.83 kB / 1.072 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4023, allocations: 8 kB / 1.072 GB, free: 7.395 MB / 0.8419 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.0002417/0.4026, allocations: 143 kB / 1.072 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.4026, allocations: 15.75 kB / 1.072 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.4027, allocations: 29.86 kB / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4027, allocations: 4 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4027, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4027, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4031, allocations: 277.4 kB / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4031, allocations: 0 / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.4033, allocations: 23.97 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.4033, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4033, allocations: 3.938 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4033, allocations: 8 kB / 1.072 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4033, allocations: 0 / 1.072 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.4038, allocations: 255.2 kB / 1.072 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.4039, allocations: 96.84 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4039, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.404, allocations: 11.98 kB / 1.072 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.4041, allocations: 19.98 kB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4042, allocations: 7.938 kB / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001146/0.4043, allocations: 123.2 kB / 1.072 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4043, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002837/0.4046, allocations: 43.75 kB / 1.073 GB, free: 6.258 MB / 0.8419 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.0001715/0.4048, allocations: 115.2 kB / 1.073 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.4052, allocations: 155.8 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4053, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.4054, allocations: 77.77 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.4058, allocations: 28.12 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.4066, allocations: 378.6 kB / 1.073 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.407, allocations: 0.7319 MB / 1.074 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.4071, allocations: 23.44 kB / 1.074 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.4071, allocations: 0 / 1.074 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of Templates: time 0.004763/0.4119, allocations: 2.159 MB / 1.076 GB, free: 2.547 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches