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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002555/0.002555, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.32/3.32, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.25 kB / 0.9116 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3687, allocations: 159.9 MB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002984/0.3718, allocations: 1.191 MB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3731, allocations: 1.006 MB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3733, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.087e-05/0.3733, allocations: 11.86 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.3735, allocations: 15.84 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.3738, allocations: 71.89 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.374, allocations: 232.2 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3743, allocations: 124.1 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3745, allocations: 99.62 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3746, allocations: 99.48 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.3747, allocations: 24 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.3747, allocations: 28 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.3748, allocations: 55.78 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3749, allocations: 111.4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.3752, allocations: 287.2 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3752, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3752, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3752, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 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.0007773/0.376, allocations: 499.1 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3761, allocations: 12.03 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.3762, allocations: 28.59 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.3766, allocations: 275.2 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.3767, allocations: 20.81 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.3767, allocations: 20.38 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3772, allocations: 203.7 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3772, allocations: 192 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3772, allocations: 15.94 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3772, allocations: 7.984 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.3776, allocations: 153.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.3785, allocations: 0.5956 MB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.3789, allocations: 158.6 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3791, allocations: 68.83 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3792, allocations: 4.062 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3792, allocations: 34.55 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.3792, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006544/0.3799, allocations: 222.6 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3799, allocations: 55.41 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3801, allocations: 179.9 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3801, allocations: 25.7 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3802, allocations: 148.1 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.3803, allocations: 43.39 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.3804, allocations: 45.7 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3805, allocations: 334.8 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3807, allocations: 55.97 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3809, allocations: 93.11 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3812, allocations: 143.6 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3812, allocations: 4 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004057/0.3816, allocations: 201.2 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3817, allocations: 5.562 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3817, allocations: 4 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3817, allocations: 0 / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.3819, allocations: 31.97 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3819, allocations: 4 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3821, allocations: 27.98 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3821, allocations: 4 kB / 1.075 GB, free: 3.41 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 (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.0002163/0.3823, allocations: 141.8 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.3823, allocations: 15.75 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.3824, allocations: 25.86 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3824, allocations: 4 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3824, allocations: 3.938 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3824, allocations: 4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3827, allocations: 277.4 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3827, allocations: 0 / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3829, allocations: 31.91 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3829, allocations: 0 / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3829, allocations: 3.984 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.3829, allocations: 4 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3829, allocations: 0 / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.3834, allocations: 267.1 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3834, allocations: 92.94 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3834, allocations: 4 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3836, allocations: 4 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.3837, allocations: 39.75 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3837, allocations: 0 / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.752e-05/0.3838, allocations: 124.2 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3838, allocations: 4 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002734/0.3841, allocations: 39.84 kB / 1.076 GB, free: 2.258 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 (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.0001733/0.3842, allocations: 111.2 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.3847, allocations: 153.8 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3847, allocations: 4 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3849, allocations: 79.89 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3852, allocations: 23.94 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/0.386, allocations: 412.9 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3864, allocations: 0.7319 MB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000113/0.3865, allocations: 17.55 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.3865, allocations: 19.44 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3865, allocations: 4 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of Templates: time 0.004645/0.3912, allocations: 1.4 MB / 1.079 GB, free: 15.31 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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) Reference file matches