Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.006764/0.006763, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001633/0.001633, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.309/2.309, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2229, allocations: 140.4 MB / 1.088 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002011/0.2249, allocations: 1.002 MB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.226, allocations: 0.9674 MB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.2261, allocations: 4 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.2261, allocations: 19.73 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.2263, allocations: 19.81 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2265, allocations: 63.86 kB / 1.09 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.2266, allocations: 159.6 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.2268, allocations: 88.17 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.227, allocations: 71.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.2271, allocations: 67.69 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.2271, allocations: 16 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.2271, allocations: 16 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.2272, allocations: 43.78 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.2273, allocations: 67.66 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2275, allocations: 202 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2275, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2275, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2275, allocations: 4 kB / 1.09 GB, free: 15.29 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.0006204/0.2281, allocations: 448.1 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2282, allocations: 8.031 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.2282, allocations: 46.73 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.2283, allocations: 16.75 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.2287, allocations: 260.1 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2287, allocations: 16.66 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.2288, allocations: 12.38 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.2291, allocations: 151.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2291, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2291, allocations: 8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2292, allocations: 4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.2295, allocations: 108.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.2301, allocations: 468.1 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.2304, allocations: 106.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.2306, allocations: 48.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2306, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2306, allocations: 30.56 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2306, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005458/0.2312, allocations: 173.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2312, allocations: 51.41 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2313, allocations: 162.6 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2314, allocations: 25.7 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.2314, allocations: 119.8 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.2315, allocations: 35.53 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.2315, allocations: 33.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2316, allocations: 330.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2318, allocations: 39.97 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.232, allocations: 72.14 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.2323, allocations: 115.3 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2323, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003644/0.2327, allocations: 145.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2327, allocations: 9.719 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2327, allocations: 7.984 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2327, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2329, allocations: 31.95 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2329, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.233, allocations: 11.92 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2331, allocations: 4 kB / 1.093 GB, free: 12 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 0.0001044/0.2332, allocations: 127.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.2332, allocations: 19.75 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.2332, allocations: 20.64 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2333, allocations: 8 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2333, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2333, allocations: 3.938 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.2335, allocations: 233.5 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2335, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.2337, allocations: 15.98 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2337, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2337, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2337, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2337, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.2341, allocations: 235.3 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.2341, allocations: 88.91 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2342, allocations: 7.938 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2343, allocations: 8 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.2344, allocations: 19.97 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.2344, allocations: 7.938 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.2344, allocations: 107.2 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2345, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002588/0.2347, allocations: 27.94 kB / 1.094 GB, free: 10.98 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.0006427/0.2354, allocations: 0.7669 MB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.2357, allocations: 112.1 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2358, allocations: 3.938 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2359, allocations: 55.97 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2362, allocations: 20.11 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.2383, allocations: 1.724 MB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2386, allocations: 0.7084 MB / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.966e-05/0.2386, allocations: 24.58 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.2387, allocations: 43.42 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2387, allocations: 3.938 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2562, allocations: 2.718 MB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.546, allocations: 6.922 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches