Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001217/0.001217, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001621/0.001621, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003985, allocations: 8 kB / 0.8723 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8128, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001463/0.8143, allocations: 0.7836 MB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.8155, allocations: 0.987 MB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.8156, allocations: 4 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.8156, allocations: 11.86 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.8157, allocations: 15.86 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.816, allocations: 55.88 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.8162, allocations: 192.2 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.8164, allocations: 102.6 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.8166, allocations: 59.66 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.8167, allocations: 67.61 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.8167, allocations: 8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.8168, allocations: 4 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.8168, allocations: 23.86 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.8168, allocations: 53.58 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.8171, allocations: 213.4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.8171, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8171, allocations: 3.938 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8171, allocations: 4 kB / 1.025 GB, free: 13.47 MB / 0.7794 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.000697/0.8178, allocations: 459.1 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8179, allocations: 8.562 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.8179, allocations: 23.72 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.8184, allocations: 284.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.8185, allocations: 12.44 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.8185, allocations: 20 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.8189, allocations: 195.2 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8189, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.819, allocations: 12 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.819, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.8193, allocations: 165.5 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.8203, allocations: 0.5686 MB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.8206, allocations: 130.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.8208, allocations: 72.81 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.8208, allocations: 8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.8209, allocations: 38.5 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.8209, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006043/0.8215, allocations: 217.3 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.8215, allocations: 51.41 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.8217, allocations: 178.2 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.8217, allocations: 29.7 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.8219, allocations: 140.1 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.8219, allocations: 39.41 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.8219, allocations: 7.938 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8221, allocations: 322.8 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.8222, allocations: 59.95 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.8224, allocations: 106.8 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.8226, allocations: 58.08 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8226, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000425/0.823, allocations: 193.3 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.8231, allocations: 4 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.8231, allocations: 7.984 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8231, allocations: 3.953 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.8233, allocations: 35.92 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.8233, allocations: 0 / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.8234, allocations: 35.98 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.8235, allocations: 4 kB / 1.028 GB, free: 9.797 MB / 0.7794 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.8236, allocations: 149.7 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.8237, allocations: 11.91 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.8237, allocations: 17.53 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8237, allocations: 0 / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8237, allocations: 3.953 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8238, allocations: 8 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.8241, allocations: 265.5 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8241, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.8242, allocations: 19.98 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.8242, allocations: 4 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.8243, allocations: 7.984 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8243, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8243, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.8247, allocations: 269.2 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.8247, allocations: 88.92 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.8248, allocations: 8 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8249, allocations: 15.98 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.825, allocations: 19.97 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.825, allocations: 4 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.19e-05/0.8251, allocations: 129.6 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8251, allocations: 0 / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002769/0.8254, allocations: 35.84 kB / 1.029 GB, free: 8.676 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.8255, allocations: 115.2 kB / 1.029 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.8259, allocations: 147.7 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.8259, allocations: 4.312 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.8261, allocations: 79.89 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.8264, allocations: 16 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.8271, allocations: 381.3 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.8275, allocations: 0.7285 MB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000122/0.8276, allocations: 25.52 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.8277, allocations: 19.44 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.8277, allocations: 4 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of Templates: time 0.004498/0.8322, allocations: 1.25 MB / 1.032 GB, free: 5.914 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches