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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, 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.001293/0.001293, allocations: 190.4 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.382/2.382, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.22 kB / 0.8988 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2211, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002208/0.2234, allocations: 1.198 MB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2244, allocations: 0.9986 MB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.2245, allocations: 8 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.193e-05/0.2246, allocations: 15.8 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2247, allocations: 19.84 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2249, allocations: 67.95 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.2251, allocations: 232.2 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2253, allocations: 132.8 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2255, allocations: 91.62 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2256, allocations: 95.55 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2256, allocations: 24 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.2257, allocations: 24 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.2257, allocations: 55.78 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.2258, allocations: 111.4 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.226, allocations: 291.2 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.226, allocations: 4 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.226, allocations: 4 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.226, allocations: 0 / 1.056 GB, free: 5.25 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.0005988/0.2266, allocations: 491.2 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2267, allocations: 12.62 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.2267, allocations: 54.67 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.2268, allocations: 32.55 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.2272, allocations: 274.4 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2272, allocations: 12.81 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.2273, allocations: 24.38 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2276, allocations: 199.8 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2277, allocations: 7.938 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2277, allocations: 8 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2277, allocations: 8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.2281, allocations: 161.6 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.2288, allocations: 0.5956 MB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.2291, allocations: 154.7 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.2293, allocations: 76.69 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2293, allocations: 8 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2293, allocations: 30.56 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.2293, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005392/0.2299, allocations: 219.1 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2299, allocations: 51.41 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.23, allocations: 186.7 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2301, allocations: 29.7 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.2301, allocations: 140.2 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.2302, allocations: 51.36 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.2303, allocations: 53.69 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.2304, allocations: 322.8 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2305, allocations: 59.91 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2307, allocations: 103.2 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.231, allocations: 142.5 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.231, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000371/0.2314, allocations: 194.9 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2314, allocations: 8.031 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2314, allocations: 7.984 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.2314, allocations: 0 / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2316, allocations: 39.91 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2316, allocations: 4 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2317, allocations: 19.83 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2317, allocations: 8 kB / 1.059 GB, free: 1.262 MB / 0.8106 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.0001251/0.2318, allocations: 150.2 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.2319, allocations: 11.81 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.2319, allocations: 25.86 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2319, allocations: 4 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2319, allocations: 0 / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2319, allocations: 0 / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.2322, allocations: 277.4 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2322, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.2323, allocations: 23.97 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2323, allocations: 4 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2324, allocations: 0 / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2324, allocations: 4 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2324, allocations: 3.938 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.2327, allocations: 264.9 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.2328, allocations: 92.86 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2328, allocations: 8 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2329, allocations: 11.98 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.233, allocations: 23.92 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.233, allocations: 11.92 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.972e-05/0.2331, allocations: 123.2 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2331, allocations: 0 / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002571/0.2334, allocations: 39.84 kB / 1.06 GB, free: 116 kB / 0.8106 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.000611/0.234, allocations: 0.8058 MB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.2344, allocations: 165.9 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2344, allocations: 0 / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2345, allocations: 75.89 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2348, allocations: 19.98 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.2369, allocations: 2.019 MB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2372, allocations: 0.7319 MB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.2373, allocations: 25.53 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2374, allocations: 63.42 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2374, allocations: 0 / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/1.373, allocations: 3.069 MB / 1.067 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0159/1.389, allocations: 277.2 kB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/3.002, allocations: 2.75 kB / 1.067 GB, free: 8.848 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > 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/jenkins1/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