Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001073/0.001073, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001564/0.001564, allocations: 172.7 kB / 15.95 MB, free: 208 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.59/1.59, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.979/2.979, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004004, allocations: 8.719 kB / 0.9022 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3728, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001417/0.3742, allocations: 0.7832 MB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3757, allocations: 0.9909 MB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3759, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.3759, allocations: 15.8 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3761, allocations: 19.84 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.3763, allocations: 55.95 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.3766, allocations: 208.2 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.3768, allocations: 102.8 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.377, allocations: 67.64 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3771, allocations: 59.64 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3772, allocations: 12 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.3772, allocations: 4 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.3772, allocations: 31.84 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3773, allocations: 53.58 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.3775, allocations: 231.6 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3776, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3776, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3776, allocations: 4 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006914/0.3783, allocations: 463.1 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3783, allocations: 8.031 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.3784, allocations: 27.62 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.3789, allocations: 294.9 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.379, allocations: 16.44 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.379, allocations: 27.95 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.3795, allocations: 199.3 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3795, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3795, allocations: 8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3795, allocations: 4 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.38, allocations: 173.6 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009112/0.3809, allocations: 0.5918 MB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.3813, allocations: 170.6 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3815, allocations: 64.83 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.3815, allocations: 4 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.3816, allocations: 38.56 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.3816, allocations: 0 / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006338/0.3822, allocations: 239.2 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3823, allocations: 55.41 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3825, allocations: 175.8 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3825, allocations: 29.7 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3826, allocations: 140.2 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.3827, allocations: 47.36 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.3827, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3828, allocations: 330.8 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.383, allocations: 60.33 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3832, allocations: 106.4 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3834, allocations: 59.91 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3834, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004068/0.3838, allocations: 207.1 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3838, allocations: 12.16 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3839, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3839, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3841, allocations: 31.97 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3841, allocations: 11.72 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3842, allocations: 27.83 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3842, allocations: 7.938 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.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 (22): * Single equations (assignments): 22 * 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.0001801/0.3844, allocations: 145.8 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.3845, allocations: 15.81 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.3845, allocations: 17.88 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3845, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.3845, allocations: 7.938 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3846, allocations: 11.88 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.3849, allocations: 269.5 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3849, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.385, allocations: 23.98 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.385, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.385, allocations: 7.984 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3851, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3851, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.3855, allocations: 279.1 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.3855, allocations: 92.86 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3856, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3857, allocations: 15.98 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.3858, allocations: 23.97 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3858, allocations: 11.98 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.625e-05/0.3859, allocations: 124.2 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3859, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002853/0.3862, allocations: 39.8 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001753/0.3864, allocations: 110.7 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.3868, allocations: 169.2 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3868, allocations: 0 / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.387, allocations: 84.22 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3874, allocations: 19.92 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.3884, allocations: 402.1 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.3889, allocations: 0.7322 MB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.3891, allocations: 21.55 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.3892, allocations: 23.44 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3892, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.006022/0.3952, allocations: 1.282 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches