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.001595/0.001595, allocations: 108 kB / 15.61 MB, free: 152 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.001809/0.001809, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.92 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2288, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002179/0.231, allocations: 1.01 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.232, allocations: 0.9791 MB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.2321, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.2322, allocations: 19.73 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.278e-05/0.2323, allocations: 15.81 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.2325, allocations: 67.86 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.2326, allocations: 168 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2328, allocations: 86.25 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2329, allocations: 71.7 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.233, allocations: 71.69 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.2331, allocations: 20 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.2331, allocations: 19.94 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.2331, allocations: 39.89 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2332, allocations: 75.59 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.2334, allocations: 207.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2334, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2334, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2334, allocations: 0 / 1.066 GB, free: 11.62 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.00057/0.234, allocations: 446.9 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.234, allocations: 8.031 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.2341, allocations: 46.73 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.2341, allocations: 20.75 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.2345, allocations: 255.9 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.2346, allocations: 12.38 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2346, allocations: 16.38 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.2349, allocations: 155.1 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2349, allocations: 7.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.2349, allocations: 7.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.235, allocations: 8 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.2353, allocations: 111.9 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.2359, allocations: 492 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.2362, allocations: 122.7 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2363, allocations: 52.83 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2363, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2364, allocations: 30.56 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2364, allocations: 0 / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005243/0.2369, allocations: 185.3 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2369, allocations: 51.41 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2371, allocations: 155.1 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2371, allocations: 29.7 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2371, allocations: 116.2 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.2372, allocations: 35.55 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.2372, allocations: 37.7 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.2373, allocations: 326.8 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2375, allocations: 39.97 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2377, allocations: 75.39 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.2379, allocations: 115.7 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.238, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000351/0.2383, allocations: 157.2 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2383, allocations: 11.98 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2383, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.2384, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2385, allocations: 23.98 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2385, allocations: 4.094 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.2386, allocations: 15.92 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2387, allocations: 8 kB / 1.07 GB, free: 8.242 MB / 0.8262 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 9.256e-05/0.2387, allocations: 130.5 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2388, allocations: 15.81 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.2388, allocations: 16.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2388, allocations: 4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2388, allocations: 4 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2389, allocations: 0 / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2391, allocations: 237.5 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2391, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.2392, allocations: 23.98 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2392, allocations: 0 / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2392, allocations: 3.984 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2392, allocations: 4 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2392, allocations: 0 / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.2396, allocations: 235.3 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.2397, allocations: 100.8 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2397, allocations: 0 / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2398, allocations: 15.98 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.2399, allocations: 15.98 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2399, allocations: 4 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.24, allocations: 122.1 kB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.24, allocations: 0 / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002478/0.2402, allocations: 27.91 kB / 1.07 GB, free: 7.211 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: 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.000604/0.2408, allocations: 0.7741 MB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.2412, allocations: 115.8 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2412, allocations: 0 / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2414, allocations: 59.91 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2417, allocations: 25.86 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.2436, allocations: 1.738 MB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.2438, allocations: 0.7123 MB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.2439, allocations: 17.08 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.244, allocations: 47.41 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.244, allocations: 0 / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.2618, allocations: 2.73 MB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.904, allocations: 6.391 kB / 1.077 GB, free: 1.035 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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