Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.926/2.926, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.478e-05, allocations: 5.797 kB / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002456/0.002491, allocations: 1.085 MB / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.003944, allocations: 1.038 MB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.004037, allocations: 4 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.512e-05/0.004102, allocations: 23.67 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.004239, allocations: 39.66 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.004527, allocations: 87.8 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.004789, allocations: 236.1 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.005008, allocations: 88.66 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.005292, allocations: 151.6 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.005421, allocations: 67.78 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.005468, allocations: 24 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.36e-05/0.005532, allocations: 31.98 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.005584, allocations: 55.81 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.005661, allocations: 67.77 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.006046, allocations: 311 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.006052, allocations: 8 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006053, allocations: 0 / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.006065, allocations: 0 / 1.003 GB, free: 3.918 MB / 0.9512 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.0007803/0.006845, allocations: 433.8 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.006885, allocations: 8.031 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.007058, allocations: 36.75 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.007551, allocations: 213.8 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.007576, allocations: 24.81 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.007614, allocations: 24.38 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.008064, allocations: 192.6 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.008076, allocations: 192 / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.008103, allocations: 12.38 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.008112, allocations: 4.375 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.008556, allocations: 161.8 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.009403, allocations: 479.5 kB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.009813, allocations: 154.6 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.01002, allocations: 60.83 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.01004, allocations: 0 / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.01009, allocations: 38.56 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.01009, allocations: 0 / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0006923/0.01079, allocations: 221.3 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.01083, allocations: 55.41 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.01104, allocations: 182.1 kB / 1.006 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.01106, allocations: 29.7 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01117, allocations: 144.5 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.01122, allocations: 39.66 kB / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.0113, allocations: 57.62 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.01146, allocations: 330.8 kB / 1.006 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.01164, allocations: 55.95 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.01185, allocations: 101.1 kB / 1.006 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.01222, allocations: 150.6 kB / 1.006 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01222, allocations: 0 / 1.006 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004636/0.01268, allocations: 191.3 kB / 1.007 GB, free: 396 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.0127, allocations: 8 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01271, allocations: 0 / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.01273, allocations: 8.094 kB / 1.007 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.01292, allocations: 31.97 kB / 1.007 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.01293, allocations: 11.94 kB / 1.007 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.01307, allocations: 23.88 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01309, allocations: 8 kB / 1.007 GB, free: 304 kB / 0.9512 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.0002025/0.01329, allocations: 139 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.01333, allocations: 15.91 kB / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.01339, allocations: 17.8 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01339, allocations: 11.94 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.0134, allocations: 0 / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.0134, allocations: 0 / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.01367, allocations: 197.2 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01367, allocations: 0 / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01381, allocations: 23.92 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01381, allocations: 0 / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.01383, allocations: 7.984 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01383, allocations: 4 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01383, allocations: 3.75 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.01429, allocations: 255.4 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01431, allocations: 11.91 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01434, allocations: 7.922 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.01446, allocations: 15.94 kB / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.01454, allocations: 23.95 kB / 1.007 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01455, allocations: 4 kB / 1.007 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.163e-05/0.01464, allocations: 124.2 kB / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.01464, allocations: 0 / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002705/0.01491, allocations: 43.89 kB / 1.008 GB, free: 15.34 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.0001497/0.01506, allocations: 117.5 kB / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.01553, allocations: 149.9 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01553, allocations: 0 / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.01574, allocations: 76.2 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.01606, allocations: 16 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.01697, allocations: 334.3 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.01713, allocations: 125.2 kB / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.01724, allocations: 21.48 kB / 1.008 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.01731, allocations: 24.5 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.01731, allocations: 0 / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.006428/0.02374, allocations: 1.477 MB / 1.01 GB, free: 13.04 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.36152347177267]