Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.001242/0.001242, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.319/2.319, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.78 kB / 0.8992 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2238, allocations: 157.4 MB / 1.053 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002245/0.226, allocations: 1.012 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2271, allocations: 0.9757 MB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.2272, allocations: 0 / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.831e-05/0.2273, allocations: 19.73 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2274, allocations: 27.78 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.2276, allocations: 63.88 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.2277, allocations: 160.1 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2279, allocations: 88.17 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.228, allocations: 71.7 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.2281, allocations: 75.67 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.2282, allocations: 20 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.2282, allocations: 19.94 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.2282, allocations: 35.86 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.2283, allocations: 75.59 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2285, allocations: 207.5 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2285, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2285, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2285, allocations: 0 / 1.056 GB, free: 5.309 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000571/0.2291, allocations: 450.9 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2291, allocations: 8.031 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.2292, allocations: 58.67 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2292, allocations: 16.75 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.2296, allocations: 253.3 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.2297, allocations: 8.375 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.2297, allocations: 16.38 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.23, allocations: 154.5 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.23, allocations: 3.938 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.23, allocations: 4 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.23, allocations: 4 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.2303, allocations: 119.9 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.2309, allocations: 488 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2312, allocations: 118.7 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2314, allocations: 52.83 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2314, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.2314, allocations: 38.56 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.2314, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004954/0.2319, allocations: 185.6 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2319, allocations: 51.41 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2321, allocations: 156.4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2321, allocations: 29.7 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2321, allocations: 120.2 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.2322, allocations: 35.55 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.2322, allocations: 37.7 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.2323, allocations: 330.8 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2325, allocations: 35.97 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2326, allocations: 77.5 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2329, allocations: 115.4 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2329, allocations: 3.938 kB / 1.059 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003321/0.2332, allocations: 149.4 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2333, allocations: 12.09 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2333, allocations: 0 / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2333, allocations: 7.938 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2334, allocations: 23.97 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2335, allocations: 4 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.2336, allocations: 15.84 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2336, allocations: 7.984 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (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 prepare postOptimizeDAE: time 8.982e-05/0.2337, allocations: 139.4 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.2337, allocations: 11.91 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.2337, allocations: 8.719 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2337, allocations: 4 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2338, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2338, allocations: 3.984 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.234, allocations: 237.4 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.234, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2341, allocations: 23.91 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2341, allocations: 0 / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2341, allocations: 8 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2341, allocations: 3.938 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2341, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.2345, allocations: 231.3 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.2345, allocations: 92.86 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.2346, allocations: 4 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2347, allocations: 11.98 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.2347, allocations: 19.97 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2348, allocations: 8 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.2348, allocations: 109.1 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2348, allocations: 0 / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002376/0.2351, allocations: 24 kB / 1.06 GB, free: 0.9023 MB / 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: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0005661/0.2356, allocations: 0.7746 MB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.236, allocations: 116.2 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.236, allocations: 8.188 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2361, allocations: 60.05 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2364, allocations: 24.16 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2383, allocations: 1.736 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2385, allocations: 0.7239 MB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.583e-05/0.2386, allocations: 17.08 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.2387, allocations: 47.42 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2387, allocations: 0 / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.2653, allocations: 2.717 MB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.857, allocations: 4.859 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches