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 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.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.001334/0.001335, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01029/0.01029, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.598/1.598, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.126/3.126, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 10.62 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3787, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001657/0.3804, allocations: 0.8294 MB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3817, allocations: 1.01 MB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.3818, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.3818, allocations: 19.86 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.3819, allocations: 7.875 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3822, allocations: 75.88 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3824, allocations: 212.2 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.3827, allocations: 124.1 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3828, allocations: 63.66 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.383, allocations: 67.56 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.383, allocations: 7.938 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.383, allocations: 11.94 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.3831, allocations: 27.78 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.3832, allocations: 101.2 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3835, allocations: 283.1 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3835, allocations: 0 / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3835, allocations: 0 / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3835, allocations: 4 kB / 1.061 GB, free: 2.613 MB / 0.8106 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.000744/0.3843, allocations: 455.2 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3843, allocations: 12.03 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.3844, allocations: 32.64 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.3849, allocations: 283.1 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.385, allocations: 16.81 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.385, allocations: 24.36 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.3855, allocations: 207.7 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3855, allocations: 4.188 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.3855, allocations: 15.94 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3855, allocations: 7.984 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.386, allocations: 165.7 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.3868, allocations: 0.5995 MB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.3872, allocations: 162.6 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3874, allocations: 72.81 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3875, allocations: 8 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3875, allocations: 34.56 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.3875, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.00063/0.3881, allocations: 238.9 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3882, allocations: 51.41 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3884, allocations: 186.7 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3884, allocations: 25.7 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3885, allocations: 148.2 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.3886, allocations: 47.3 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.3886, allocations: 37.7 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3888, allocations: 322.8 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.389, allocations: 63.95 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.3892, allocations: 103.2 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3896, allocations: 158.6 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3896, allocations: 0 / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004304/0.39, allocations: 210.5 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.39, allocations: 8 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3901, allocations: 4.156 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3901, allocations: 15.86 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.3903, allocations: 35.97 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3903, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3904, allocations: 23.83 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3904, allocations: 8 kB / 1.065 GB, free: 14.63 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.000179/0.3906, allocations: 140.5 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3907, allocations: 19.75 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.3907, allocations: 25.86 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3907, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3907, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3908, allocations: 4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3911, allocations: 269.5 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3911, allocations: 3.938 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3913, allocations: 27.92 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3913, allocations: 4 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3913, allocations: 3.984 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3913, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3913, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.3918, allocations: 273.2 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.3918, allocations: 96.8 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3919, allocations: 7.984 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.392, allocations: 8 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.3921, allocations: 27.91 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3921, allocations: 8 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.14e-05/0.3922, allocations: 127.2 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3922, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002659/0.3925, allocations: 35.84 kB / 1.066 GB, free: 13.48 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.0001333/0.3926, allocations: 111.2 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.393, allocations: 159.8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.393, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3932, allocations: 88.2 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3935, allocations: 19.92 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.3942, allocations: 427.1 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3946, allocations: 0.7283 MB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.3947, allocations: 25.53 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.3948, allocations: 19.44 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3948, allocations: 0 / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.004385/0.3992, allocations: 1.337 MB / 1.069 GB, free: 10.59 MB / 0.8262 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