Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.006807/0.006807, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.001824/0.001824, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.88 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2277, allocations: 140.4 MB / 1.088 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002144/0.2299, allocations: 1.007 MB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2311, allocations: 0.9675 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.2312, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.2312, allocations: 15.8 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2314, allocations: 23.75 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2316, allocations: 63.84 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2317, allocations: 163.6 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2319, allocations: 84.17 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.2321, allocations: 63.72 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2322, allocations: 71.69 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.2322, allocations: 19.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.2322, allocations: 16 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.2323, allocations: 43.78 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.2324, allocations: 75.59 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2326, allocations: 199.4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2326, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2326, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2326, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006216/0.2333, allocations: 451 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2333, allocations: 8.031 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.2334, allocations: 50.69 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.2334, allocations: 20.83 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.2338, allocations: 252.3 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.2339, allocations: 12.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.2339, allocations: 20.36 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.2343, allocations: 139.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2343, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.2343, allocations: 11.98 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2343, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.2347, allocations: 112.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.2353, allocations: 468.2 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.2356, allocations: 102.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2358, allocations: 48.89 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.2358, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2358, allocations: 34.56 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.2358, allocations: 7.938 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000548/0.2364, allocations: 177.7 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2364, allocations: 51.41 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2366, allocations: 154.3 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2366, allocations: 29.7 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.2367, allocations: 119.9 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2367, allocations: 35.72 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.2368, allocations: 45.7 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2369, allocations: 326.7 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.237, allocations: 39.97 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.2372, allocations: 71.39 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.2375, allocations: 103.3 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2375, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003977/0.2379, allocations: 157.4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.238, allocations: 6.031 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.238, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.238, allocations: 7.938 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.2382, allocations: 23.97 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2382, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2383, allocations: 19.86 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2383, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.92e-05/0.2384, allocations: 135.2 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.2385, allocations: 11.91 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.2385, allocations: 16.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2385, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2385, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2385, allocations: 3.938 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.2388, allocations: 221.6 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2388, allocations: 3.984 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2389, allocations: 19.98 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2389, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2389, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2389, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.239, allocations: 3.938 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.2393, allocations: 235.2 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.2394, allocations: 89 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.2394, allocations: 12 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2396, allocations: 7.984 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.2396, allocations: 19.97 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2396, allocations: 3.938 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.2397, allocations: 111.3 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2397, allocations: 0 / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002655/0.24, allocations: 23.95 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006319/0.2406, allocations: 0.7712 MB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.241, allocations: 115.8 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.241, allocations: 3.938 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.2412, allocations: 59.91 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2415, allocations: 13.36 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2435, allocations: 1.727 MB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2438, allocations: 0.7162 MB / 1.097 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.128e-05/0.2439, allocations: 12.66 kB / 1.097 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.244, allocations: 51.41 kB / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.244, allocations: 0 / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.262, allocations: 2.7 MB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.722, allocations: 12.25 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches