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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.006636/0.006636, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001452/0.001452, allocations: 198.2 kB / 16.79 MB, free: 5.809 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.572/1.572, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 59.91 kB / 0.8126 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.688, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003047/0.6911, allocations: 1.176 MB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.6926, allocations: 0.9964 MB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.6928, allocations: 2.281 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.434e-05/0.6928, allocations: 11.86 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.693, allocations: 26.3 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.6933, allocations: 71.06 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.6935, allocations: 199.2 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.6939, allocations: 118.4 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.6941, allocations: 80.73 kB / 0.9522 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.6943, allocations: 87.17 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.6943, allocations: 15.81 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.6944, allocations: 10.91 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.6944, allocations: 38.73 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.6945, allocations: 85.22 kB / 0.9525 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.6948, allocations: 221.1 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6948, allocations: 1.125 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6948, allocations: 0 / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.6948, allocations: 3.938 kB / 0.9527 GB, free: 6.781 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.0008285/0.6956, allocations: 499 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.6957, allocations: 8.75 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.6958, allocations: 23.75 kB / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.6964, allocations: 275.7 kB / 0.9535 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.6965, allocations: 18.09 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.6965, allocations: 16.94 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.6971, allocations: 192.1 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6971, allocations: 0 / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.6972, allocations: 9.594 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.6972, allocations: 4.906 kB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.6978, allocations: 145.5 kB / 0.9538 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.6989, allocations: 0.5679 MB / 0.9544 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.6994, allocations: 132.6 kB / 0.9545 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.6996, allocations: 59.58 kB / 0.9546 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.6997, allocations: 5.531 kB / 0.9546 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.6997, allocations: 39.3 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.6997, allocations: 0 / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008599/0.7006, allocations: 210.5 kB / 0.9548 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.7007, allocations: 52.88 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.7009, allocations: 173.3 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.7009, allocations: 29.7 kB / 0.955 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.701, allocations: 138.5 kB / 0.9552 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.7011, allocations: 41.36 kB / 0.9552 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.7012, allocations: 51.75 kB / 0.9553 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.7013, allocations: 329.5 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.7015, allocations: 52.52 kB / 0.9556 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.7018, allocations: 95.42 kB / 0.9557 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.7022, allocations: 139.4 kB / 0.9559 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7023, allocations: 0 / 0.9559 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006221/0.7029, allocations: 190.8 kB / 0.956 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7029, allocations: 5 kB / 0.956 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7029, allocations: 5.938 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.703, allocations: 2.188 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.7033, allocations: 30.59 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.7033, allocations: 2.188 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.7035, allocations: 32.2 kB / 0.9561 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.7035, allocations: 6 kB / 0.9561 GB, free: 3.914 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.0001435/0.7037, allocations: 129.2 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.7037, allocations: 14.53 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.7038, allocations: 36.78 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7038, allocations: 1.219 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7038, allocations: 1.156 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7039, allocations: 4 kB / 0.9563 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.7042, allocations: 265.5 kB / 0.9565 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7043, allocations: 1.219 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.7045, allocations: 27.94 kB / 0.9566 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7045, allocations: 0 / 0.9566 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.7045, allocations: 5.375 kB / 0.9566 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7045, allocations: 1.438 kB / 0.9566 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7045, allocations: 0 / 0.9566 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.7051, allocations: 257.3 kB / 0.9568 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.7051, allocations: 92.83 kB / 0.9569 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.7052, allocations: 5.25 kB / 0.9569 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.7053, allocations: 12.67 kB / 0.9569 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.7055, allocations: 20.91 kB / 0.957 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.7055, allocations: 5.656 kB / 0.957 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.852e-05/0.7056, allocations: 125.2 kB / 0.9571 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7056, allocations: 0 / 0.9571 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004574/0.7061, allocations: 36.84 kB / 0.9571 GB, free: 3.023 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.0001548/0.7062, allocations: 106.8 kB / 0.9572 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.7068, allocations: 136.4 kB / 0.9573 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7068, allocations: 5.625 kB / 0.9574 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.7071, allocations: 68.19 kB / 0.9574 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.7077, allocations: 21.19 kB / 0.9574 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.7086, allocations: 417.6 kB / 0.9578 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.7088, allocations: 0.7327 MB / 0.9586 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.7089, allocations: 19.16 kB / 0.9586 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.7089, allocations: 0 / 0.9586 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of Templates: time 0.005342/0.7143, allocations: 2.076 MB / 0.9606 GB, free: 0.6914 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/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