Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001396/0.001396, allocations: 107 kB / 16.36 MB, free: 6.336 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.001198/0.001198, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.97 kB / 0.8707 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3156, allocations: 151.6 MB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003082/0.3187, allocations: 1.117 MB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.32, allocations: 1.01 MB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.3201, allocations: 4 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.322e-05/0.3202, allocations: 19.73 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3203, allocations: 31.66 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3206, allocations: 79.86 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.3208, allocations: 216.2 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.3211, allocations: 125.1 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3213, allocations: 95.56 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3214, allocations: 95.55 kB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.3215, allocations: 20 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.223e-05/0.3215, allocations: 24 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.3216, allocations: 51.77 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.3217, allocations: 99.47 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.3219, allocations: 286.9 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.322, allocations: 4 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.322, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.322, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007449/0.3227, allocations: 497.5 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3228, allocations: 8.922 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.3228, allocations: 28.59 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.3233, allocations: 280.2 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3233, allocations: 16.81 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3234, allocations: 16.38 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.3238, allocations: 187.8 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3238, allocations: 3.938 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3238, allocations: 8 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3238, allocations: 4 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.3242, allocations: 149.7 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.325, allocations: 0.5569 MB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.3254, allocations: 131.3 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3255, allocations: 64.83 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3256, allocations: 0 / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.3256, allocations: 38.56 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.3256, allocations: 0 / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0005633/0.3262, allocations: 203.4 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3263, allocations: 59.34 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3264, allocations: 175.3 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3265, allocations: 37.69 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.3266, allocations: 136.2 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3266, allocations: 39.45 kB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.3267, allocations: 45.7 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3268, allocations: 330.8 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.327, allocations: 51.97 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.3272, allocations: 93.06 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3275, allocations: 146.9 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3275, allocations: 0 / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003974/0.3279, allocations: 189.3 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3279, allocations: 4 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3279, allocations: 0 / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.328, allocations: 4 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3282, allocations: 43.78 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3282, allocations: 7.969 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3283, allocations: 19.84 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3283, allocations: 12.14 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001129/0.3284, allocations: 140.2 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3285, allocations: 11.81 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3285, allocations: 17.53 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3285, allocations: 7.938 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3285, allocations: 4 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3285, allocations: 3.984 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3288, allocations: 265.4 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3288, allocations: 4 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.329, allocations: 23.97 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.329, allocations: 0 / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.329, allocations: 4 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.329, allocations: 7.938 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.329, allocations: 0 / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3294, allocations: 257.3 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.3295, allocations: 88.92 kB / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3295, allocations: 7.984 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3296, allocations: 11.94 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.3297, allocations: 19.97 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3297, allocations: 8 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.778e-05/0.3298, allocations: 115.2 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3298, allocations: 4 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002702/0.3301, allocations: 35.84 kB / 1.026 GB, free: 1.625 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001302/0.3302, allocations: 111.2 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.3306, allocations: 139.7 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3306, allocations: 0 / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3308, allocations: 76.2 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3311, allocations: 16 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.3317, allocations: 330.2 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3321, allocations: 0.728 MB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.894e-05/0.3322, allocations: 21.55 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.3322, allocations: 19.42 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3323, allocations: 0 / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of Templates: time 0.004283/0.3365, allocations: 1.441 MB / 1.029 GB, free: 14.75 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches