Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001371/0.001371, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001459/0.001459, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DualDuctMixConDischargeSensor.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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.25 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002866/0.3563, allocations: 1.138 MB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3579, allocations: 1.069 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3581, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.614e-05/0.3581, allocations: 23.67 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.3583, allocations: 39.66 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3586, allocations: 83.86 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.3588, allocations: 228.2 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.3591, allocations: 100.6 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3593, allocations: 103.6 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3594, allocations: 95.48 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.3595, allocations: 28 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.3595, allocations: 27.94 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.3596, allocations: 55.84 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.3597, allocations: 103.5 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.3601, allocations: 310.6 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3601, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3601, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3601, allocations: 4 kB / 1.33 GB, free: 14.1 MB / 1.029 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.0008153/0.3609, allocations: 425.7 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.361, allocations: 12.03 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3612, allocations: 40.73 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.3616, allocations: 211.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.3617, allocations: 24.81 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.3617, allocations: 20.38 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.3621, allocations: 199.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3621, allocations: 192 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.3622, allocations: 11.94 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3622, allocations: 7.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.3626, allocations: 157.7 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.3634, allocations: 0.5571 MB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.3638, allocations: 146.6 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.364, allocations: 60.81 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.364, allocations: 8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.364, allocations: 38.5 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.364, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006255/0.3647, allocations: 218.8 kB / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3647, allocations: 51.41 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3649, allocations: 183.5 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3649, allocations: 33.69 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.365, allocations: 136.5 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.3651, allocations: 47.7 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.3652, allocations: 53.69 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3653, allocations: 322.8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3655, allocations: 59.95 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3657, allocations: 98.98 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.366, allocations: 150.4 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.366, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004161/0.3664, allocations: 197.3 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3665, allocations: 4 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3665, allocations: 4 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3665, allocations: 0 / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3667, allocations: 35.97 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3667, allocations: 7.938 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3668, allocations: 19.88 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3668, allocations: 8 kB / 1.334 GB, free: 10.39 MB / 1.029 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.0002168/0.367, allocations: 142.4 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.3671, allocations: 23.83 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.3671, allocations: 17.81 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3671, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3671, allocations: 4 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3671, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.3674, allocations: 248.5 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3674, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3676, allocations: 31.91 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3676, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3676, allocations: 4 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.3676, allocations: 15.92 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3676, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.368, allocations: 272.7 kB / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3681, allocations: 19.84 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3681, allocations: 0 / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3682, allocations: 11.98 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.3683, allocations: 19.97 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3683, allocations: 4 kB / 1.335 GB, free: 9.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.3684, allocations: 123.5 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000268/0.3687, allocations: 39.89 kB / 1.335 GB, free: 9.367 MB / 1.029 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.0001356/0.3688, allocations: 113.3 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.3692, allocations: 150 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3692, allocations: 0 / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3694, allocations: 68.2 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3697, allocations: 28.88 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.3704, allocations: 366.7 kB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3708, allocations: 0.7398 MB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.3709, allocations: 23.42 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3709, allocations: 0 / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of Templates: time 0.004403/0.3753, allocations: 2.196 MB / 1.338 GB, free: 5.641 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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: 11.178604709013598]