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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007202/0.007201, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001191/0.001191, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.902/2.902, allocations: 461.9 MB / 0.7347 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3877, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002947/0.3907, allocations: 1.134 MB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3921, allocations: 1.022 MB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.3922, allocations: 4 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.3922, allocations: 19.73 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3924, allocations: 39.66 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3927, allocations: 79.86 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3929, allocations: 224.2 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.3932, allocations: 132.5 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3933, allocations: 95.58 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3935, allocations: 103.5 kB / 1.211 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.3935, allocations: 24 kB / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.3936, allocations: 24 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3936, allocations: 55.84 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.3937, allocations: 103.4 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.394, allocations: 310.8 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.394, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.394, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.394, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 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.0007179/0.3948, allocations: 0.4913 MB / 1.212 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3948, allocations: 12.56 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.3949, allocations: 36.58 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.3953, allocations: 268.3 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3954, allocations: 20.8 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.3954, allocations: 24.38 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3958, allocations: 191.8 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3958, allocations: 192 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3958, allocations: 15.94 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3959, allocations: 8 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.3962, allocations: 157.6 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.397, allocations: 0.5878 MB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.3973, allocations: 154.7 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.3975, allocations: 76.66 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3975, allocations: 4 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3976, allocations: 30.56 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.3976, allocations: 0 / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.0005844/0.3982, allocations: 215.5 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3982, allocations: 51.41 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3984, allocations: 191.4 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3984, allocations: 25.7 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.3985, allocations: 148.1 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.3986, allocations: 43.39 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.3986, allocations: 61.59 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3988, allocations: 326.8 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3989, allocations: 59.91 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3991, allocations: 103.5 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.3994, allocations: 141 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3995, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003846/0.3998, allocations: 195 kB / 1.215 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3999, allocations: 4 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3999, allocations: 4 kB / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3999, allocations: 0 / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.4001, allocations: 36.06 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4001, allocations: 8 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4002, allocations: 27.73 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4002, allocations: 4 kB / 1.215 GB, free: 2.379 MB / 0.9669 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 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001809/0.4004, allocations: 142.2 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.4005, allocations: 15.84 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.4005, allocations: 25.86 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4005, allocations: 7.938 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4005, allocations: 4 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4005, allocations: 0 / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.4008, allocations: 273.4 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4008, allocations: 3.938 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.4009, allocations: 23.97 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.401, allocations: 0 / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.401, allocations: 4 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.401, allocations: 0 / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.401, allocations: 7.938 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.4014, allocations: 264.5 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.4014, allocations: 96.86 kB / 1.215 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.4015, allocations: 0 / 1.215 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4016, allocations: 11.98 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.4017, allocations: 19.98 kB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.4017, allocations: 11.98 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.4018, allocations: 119.2 kB / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4018, allocations: 0 / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002549/0.402, allocations: 35.84 kB / 1.216 GB, free: 1.246 MB / 0.9669 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 (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.0001299/0.4022, allocations: 115.2 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.4026, allocations: 151.9 kB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4026, allocations: 0 / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.4028, allocations: 81.67 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.4031, allocations: 24.55 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.4037, allocations: 341.2 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.404, allocations: 0.7436 MB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.079e-05/0.4041, allocations: 17.55 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.4042, allocations: 23.44 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4042, allocations: 4 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.004478/0.4087, allocations: 1.486 MB / 1.219 GB, free: 14.26 MB / 0.9825 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