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.0008282/0.0008282, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007981/0.0007981, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8928/0.8928, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.064e-06/2.064e-06, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.731e-05, allocations: 2.281 kB / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001648/0.001676, allocations: 1.076 MB / 1.002 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.002664, allocations: 1.049 MB / 1.003 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.002743, allocations: 4 kB / 1.003 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.002793, allocations: 19.73 kB / 1.003 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.002901, allocations: 43.55 kB / 1.003 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.003137, allocations: 83.84 kB / 1.003 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.003305, allocations: 232.2 kB / 1.003 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.003475, allocations: 92.64 kB / 1.003 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.003698, allocations: 151.6 kB / 1.004 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.003778, allocations: 71.77 kB / 1.004 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.00381, allocations: 24 kB / 1.004 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.765e-05/0.003858, allocations: 24 kB / 1.004 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.003887, allocations: 51.83 kB / 1.004 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.003933, allocations: 67.83 kB / 1.004 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.004194, allocations: 326.8 kB / 1.004 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004196, allocations: 0 / 1.004 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.944e-06/0.004198, allocations: 8 kB / 1.004 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004202, allocations: 0 / 1.004 GB, free: 8.543 MB / 0.9167 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.0004962/0.004698, allocations: 429.8 kB / 1.005 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004735, allocations: 8.75 kB / 1.005 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.004851, allocations: 36.78 kB / 1.005 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.005143, allocations: 213.7 kB / 1.005 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.005161, allocations: 20.88 kB / 1.005 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.005182, allocations: 24.38 kB / 1.005 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.005435, allocations: 196.6 kB / 1.005 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005443, allocations: 192 / 1.005 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.00546, allocations: 12.38 kB / 1.005 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.005465, allocations: 4.375 kB / 1.005 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.005693, allocations: 161.8 kB / 1.005 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.006219, allocations: 487.5 kB / 1.006 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.006447, allocations: 146.6 kB / 1.006 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.006536, allocations: 60.83 kB / 1.006 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.006553, allocations: 0 / 1.006 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.006574, allocations: 42.55 kB / 1.006 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 8.11e-07/0.006575, allocations: 0 / 1.006 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0003584/0.006933, allocations: 209.4 kB / 1.006 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.006964, allocations: 59.34 kB / 1.006 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.007075, allocations: 175.2 kB / 1.006 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.007088, allocations: 33.7 kB / 1.006 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.00715, allocations: 144.4 kB / 1.006 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.007181, allocations: 55.64 kB / 1.007 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.007232, allocations: 49.7 kB / 1.007 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.00731, allocations: 330.8 kB / 1.007 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.0074, allocations: 59.91 kB / 1.007 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.007507, allocations: 105.1 kB / 1.007 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.007685, allocations: 139.1 kB / 1.007 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007687, allocations: 4 kB / 1.007 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002362/0.007923, allocations: 191.3 kB / 1.007 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.007937, allocations: 8 kB / 1.007 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.007941, allocations: 0 / 1.007 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007953, allocations: 7.938 kB / 1.007 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.008054, allocations: 40.06 kB / 1.007 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.008061, allocations: 4 kB / 1.007 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.008116, allocations: 23.88 kB / 1.007 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.008127, allocations: 11.94 kB / 1.007 GB, free: 4.922 MB / 0.9167 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.0001009/0.008228, allocations: 139.3 kB / 1.008 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.008247, allocations: 15.91 kB / 1.008 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.008271, allocations: 17.8 kB / 1.008 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.008274, allocations: 7.938 kB / 1.008 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.008279, allocations: 4 kB / 1.008 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008282, allocations: 0 / 1.008 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.008433, allocations: 193.1 kB / 1.008 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.008434, allocations: 0 / 1.008 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.008492, allocations: 23.92 kB / 1.008 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008494, allocations: 3.984 kB / 1.008 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.008504, allocations: 4 kB / 1.008 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008506, allocations: 4 kB / 1.008 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008507, allocations: 3.938 kB / 1.008 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.008819, allocations: 255.3 kB / 1.008 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008831, allocations: 15.91 kB / 1.008 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.008846, allocations: 3.984 kB / 1.008 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.0089, allocations: 12 kB / 1.008 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.00896, allocations: 27.89 kB / 1.008 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.008965, allocations: 0 / 1.008 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.009024, allocations: 125.2 kB / 1.008 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009024, allocations: 0 / 1.008 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001833/0.009207, allocations: 43.89 kB / 1.008 GB, free: 3.992 MB / 0.9167 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 8.158e-05/0.009289, allocations: 107.2 kB / 1.008 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.00953, allocations: 146.2 kB / 1.009 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009532, allocations: 0 / 1.009 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.009629, allocations: 72.2 kB / 1.009 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.009839, allocations: 40.42 kB / 1.009 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.01028, allocations: 367.9 kB / 1.009 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.01036, allocations: 125.2 kB / 1.009 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.0104, allocations: 20.5 kB / 1.009 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01041, allocations: 0 / 1.009 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of Templates: time 0.00258/0.01299, allocations: 2.229 MB / 1.011 GB, free: 0.8477 MB / 0.9167 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: 6.503616250120103]