Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001633/0.001633, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.486/2.486, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 140.4 MB / 0.949 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002303/1.03, allocations: 1.159 MB / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/1.031, allocations: 1.004 MB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/1.031, allocations: 2.75 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/1.031, allocations: 11.86 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/1.031, allocations: 22.53 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/1.031, allocations: 66.97 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/1.031, allocations: 202.6 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/1.032, allocations: 121.8 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/1.032, allocations: 77.52 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/1.032, allocations: 86 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/1.032, allocations: 12.72 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/1.032, allocations: 11.84 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/1.032, allocations: 37.06 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/1.032, allocations: 86.16 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/1.032, allocations: 271.4 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.032, allocations: 4 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/1.032, allocations: 3.938 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.15e-06/1.032, allocations: 0 / 0.9521 GB, free: 6.723 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.00065/1.033, allocations: 490.9 kB / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.033, allocations: 9.469 kB / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/1.033, allocations: 23.78 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/1.033, allocations: 283.1 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.034, allocations: 17.66 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/1.034, allocations: 17.06 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/1.034, allocations: 191.9 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.034, allocations: 0 / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/1.034, allocations: 6.125 kB / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/1.034, allocations: 4.156 kB / 0.9531 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/1.034, allocations: 158.1 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/1.035, allocations: 0.5647 MB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/1.035, allocations: 129.8 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/1.036, allocations: 63.38 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/1.036, allocations: 4.719 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/1.036, allocations: 31.78 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/1.036, allocations: 1.125 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005637/1.036, allocations: 204.1 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/1.036, allocations: 52.91 kB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/1.036, allocations: 181.5 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/1.036, allocations: 25.7 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/1.037, allocations: 146.2 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.037, allocations: 40.91 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/1.037, allocations: 48.41 kB / 0.9546 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/1.037, allocations: 325.8 kB / 0.955 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/1.037, allocations: 51.61 kB / 0.955 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/1.037, allocations: 101.1 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/1.037, allocations: 142.7 kB / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.037, allocations: 0 / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003817/1.038, allocations: 187.2 kB / 0.9554 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.038, allocations: 5.188 kB / 0.9554 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.038, allocations: 5.25 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.038, allocations: 2.281 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.038, allocations: 31.12 kB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.038, allocations: 6.375 kB / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/1.038, allocations: 24.33 kB / 0.9555 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/1.038, allocations: 5.344 kB / 0.9555 GB, free: 3.859 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 9.876e-05/1.038, allocations: 142.3 kB / 0.9556 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/1.038, allocations: 10.66 kB / 0.9556 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/1.038, allocations: 23.67 kB / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.038, allocations: 2.438 kB / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.038, allocations: 0 / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.038, allocations: 0 / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/1.039, allocations: 266.4 kB / 0.9559 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.039, allocations: 3.984 kB / 0.9559 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/1.039, allocations: 23.17 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.039, allocations: 5.125 kB / 0.9559 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.039, allocations: 13.28 kB / 0.956 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.039, allocations: 1.375 kB / 0.956 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.039, allocations: 0 / 0.956 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/1.039, allocations: 251.2 kB / 0.9562 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/1.039, allocations: 92.39 kB / 0.9563 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/1.039, allocations: 12.97 kB / 0.9563 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.039, allocations: 13.64 kB / 0.9563 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/1.039, allocations: 23.53 kB / 0.9563 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/1.04, allocations: 4.125 kB / 0.9563 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.213e-05/1.04, allocations: 119 kB / 0.9565 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 0.9565 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002653/1.04, allocations: 43.09 kB / 0.9565 GB, free: 2.965 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.0001256/1.04, allocations: 105.5 kB / 0.9566 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003912/1.04, allocations: 138 kB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.04, allocations: 0 / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.041, allocations: 73.73 kB / 0.9568 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/1.041, allocations: 24.84 kB / 0.9568 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/1.042, allocations: 388.1 kB / 0.9572 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/1.042, allocations: 0.7292 MB / 0.9579 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001057/1.042, allocations: 20.11 kB / 0.9579 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/1.042, allocations: 21.3 kB / 0.9579 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/1.042, allocations: 0 / 0.9579 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.004675/1.047, allocations: 1.293 MB / 0.9592 GB, free: 1.125 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches