Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001485/0.001485, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001836/0.001836, allocations: 194.7 kB / 16.14 MB, free: 6.57 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.569/1.569, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.541/2.541, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 0.8119 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8828, allocations: 140.4 MB / 0.949 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002493/0.8853, allocations: 1.171 MB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.8864, allocations: 0.9949 MB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.8865, allocations: 3.281 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.244e-05/0.8866, allocations: 11.86 kB / 0.9511 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.8867, allocations: 18.31 kB / 0.9511 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.8869, allocations: 71.34 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.8871, allocations: 206.8 kB / 0.9514 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.8874, allocations: 112.1 kB / 0.9515 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.8875, allocations: 85.69 kB / 0.9516 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.8877, allocations: 86.8 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.8877, allocations: 11.12 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.8878, allocations: 12.53 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.8878, allocations: 44.86 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.8879, allocations: 83.16 kB / 0.9518 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.8882, allocations: 267 kB / 0.9521 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8882, allocations: 0 / 0.9521 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8882, allocations: 0 / 0.9521 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8882, allocations: 0 / 0.9521 GB, free: 6.941 MB / 0.7169 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.0007128/0.8889, allocations: 495.3 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.889, allocations: 9.125 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.8891, allocations: 27.78 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.8895, allocations: 270.6 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.8896, allocations: 13.28 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.8896, allocations: 29.66 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.89, allocations: 192 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.89, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.8901, allocations: 9.375 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.8901, allocations: 9.188 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.8905, allocations: 145.5 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.8913, allocations: 0.5683 MB / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.8917, allocations: 130.5 kB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.8918, allocations: 62.98 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.8919, allocations: 1.125 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.8919, allocations: 39.73 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.8919, allocations: 3.984 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006112/0.8925, allocations: 204.6 kB / 0.9542 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.8926, allocations: 58.31 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.8927, allocations: 172 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.8927, allocations: 29.7 kB / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.8928, allocations: 138.4 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.8929, allocations: 41.45 kB / 0.9546 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.8929, allocations: 51.38 kB / 0.9547 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.893, allocations: 326.5 kB / 0.955 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.8932, allocations: 56.08 kB / 0.955 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.8934, allocations: 96.55 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.8937, allocations: 135.4 kB / 0.9552 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.8937, allocations: 1.406 kB / 0.9552 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004172/0.8941, allocations: 190.1 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.8942, allocations: 5.656 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.8942, allocations: 5.094 kB / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.8942, allocations: 6.125 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.8944, allocations: 31.28 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.8944, allocations: 6.359 kB / 0.9555 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.8945, allocations: 23.45 kB / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.8945, allocations: 9.312 kB / 0.9555 GB, free: 4.066 MB / 0.7169 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.0001118/0.8947, allocations: 134.3 kB / 0.9556 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.8947, allocations: 13.94 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.8948, allocations: 28.95 kB / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.8948, allocations: 2.406 kB / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8948, allocations: 0 / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8948, allocations: 0 / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.8951, allocations: 262.6 kB / 0.9559 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8951, allocations: 7.938 kB / 0.9559 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.8952, allocations: 27.28 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8952, allocations: 1.531 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.8953, allocations: 5.188 kB / 0.956 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8953, allocations: 4 kB / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8953, allocations: 1.562 kB / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.8957, allocations: 253.3 kB / 0.9562 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.8957, allocations: 98.39 kB / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.8958, allocations: 3.938 kB / 0.9563 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8959, allocations: 8.859 kB / 0.9563 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.8959, allocations: 25 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.896, allocations: 3.312 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.71e-05/0.896, allocations: 118.8 kB / 0.9565 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8961, allocations: 1.469 kB / 0.9565 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002752/0.8963, allocations: 39.72 kB / 0.9565 GB, free: 3.18 MB / 0.7169 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.0001435/0.8965, allocations: 110.4 kB / 0.9566 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.8969, allocations: 138 kB / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.8969, allocations: 0 / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.8971, allocations: 74.19 kB / 0.9568 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.8974, allocations: 21.03 kB / 0.9568 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.898, allocations: 389.3 kB / 0.9572 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.8982, allocations: 0.7328 MB / 0.9579 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.8983, allocations: 24.28 kB / 0.9579 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.8984, allocations: 21.3 kB / 0.958 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8984, allocations: 0 / 0.958 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.00442/0.9028, allocations: 1.288 MB / 0.9592 GB, free: 1.336 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches