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.001659/0.001659, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001876/0.001876, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9004/0.9017, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002294/0.904, allocations: 1.115 MB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.9052, allocations: 1.009 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.9053, allocations: 2.344 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.9053, allocations: 20.8 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.9055, allocations: 28.22 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.9057, allocations: 78.84 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.9059, allocations: 222 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.9062, allocations: 117.6 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.9063, allocations: 92.03 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.9065, allocations: 95.91 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.9065, allocations: 23.12 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.938e-05/0.9066, allocations: 26.22 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.9066, allocations: 45.8 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.9067, allocations: 102.2 kB / 1.092 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.9071, allocations: 286.2 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9071, allocations: 4 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9071, allocations: 0 / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.9071, allocations: 1.125 kB / 1.092 GB, free: 3.418 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.0006827/0.9078, allocations: 483.4 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9078, allocations: 10.89 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.9079, allocations: 26.97 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.9084, allocations: 284.2 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.9084, allocations: 14.28 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.9084, allocations: 20.91 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.9089, allocations: 186.5 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9089, allocations: 1.203 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.9089, allocations: 9.625 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.9089, allocations: 4.625 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.9093, allocations: 151.1 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.9101, allocations: 0.5658 MB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.9104, allocations: 130.3 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.9106, allocations: 64.38 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.9106, allocations: 6.047 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.9107, allocations: 36.52 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.9107, allocations: 0 / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006152/0.9113, allocations: 207.1 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.9113, allocations: 54.77 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9115, allocations: 185.3 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.9115, allocations: 31.16 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.9115, allocations: 137 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.9116, allocations: 40.09 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.9117, allocations: 49.47 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.9117, allocations: 323.1 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.9119, allocations: 58.14 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.9121, allocations: 91.59 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.9124, allocations: 141.5 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9124, allocations: 0.6875 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004152/0.9128, allocations: 188.4 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.9129, allocations: 5.844 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9129, allocations: 5.469 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.9129, allocations: 6.906 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.9131, allocations: 33.53 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.9131, allocations: 6.812 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.9132, allocations: 23.14 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.9133, allocations: 9.766 kB / 1.095 GB, free: 0.9023 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 9.12e-05/0.9134, allocations: 135.8 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.9134, allocations: 15.52 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.9134, allocations: 25.78 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9135, allocations: 1.656 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9135, allocations: 0 / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9135, allocations: 2.469 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.9137, allocations: 259.1 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9137, allocations: 4.812 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.9139, allocations: 25.53 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9139, allocations: 0.8125 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.9139, allocations: 6.297 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9139, allocations: 0.6875 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9139, allocations: 4.688 kB / 1.096 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.9143, allocations: 255.3 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.9143, allocations: 93.59 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.9144, allocations: 9.672 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.9145, allocations: 7.578 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.9146, allocations: 23.03 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.9146, allocations: 7.703 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.981e-05/0.9147, allocations: 122.4 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9147, allocations: 0 / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002716/0.915, allocations: 40.12 kB / 1.096 GB, free: 100 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.0001153/0.9151, allocations: 114.1 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.9156, allocations: 139.4 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9156, allocations: 0 / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.9158, allocations: 72.64 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.9161, allocations: 22.73 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.9168, allocations: 350.1 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.9171, allocations: 0.7337 MB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.9172, allocations: 21 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9172, allocations: 0 / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.004307/0.9215, allocations: 2.08 MB / 1.1 GB, free: 14.76 MB / 0.8731 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/jenkins1/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