Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.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.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides",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.00519/0.00519, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001315/0.001315, allocations: 201.5 kB / 16.68 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.09 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2145, allocations: 140.4 MB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides): time 0.002414/0.217, allocations: 1.349 MB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2186, allocations: 1.304 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2187, allocations: 8 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.599e-05/0.2188, allocations: 35.53 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.219, allocations: 39.59 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.2196, allocations: 221.7 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.22, allocations: 384.2 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2202, allocations: 180.9 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.2204, allocations: 147.5 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2206, allocations: 175.2 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/0.2207, allocations: 40 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.2208, allocations: 51.98 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.2208, allocations: 71.77 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.221, allocations: 171.2 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.2214, allocations: 480.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2214, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2214, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2215, allocations: 0 / 1.092 GB, free: 13.38 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001083/0.2225, allocations: 0.6296 MB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2226, allocations: 8.031 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.894e-05/0.2227, allocations: 70.72 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.2227, allocations: 40.47 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.2236, allocations: 363.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.2237, allocations: 28.88 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.2237, allocations: 36.12 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.2243, allocations: 307.8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2244, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.2244, allocations: 12 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2244, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.2251, allocations: 228.5 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2263, allocations: 0.9869 MB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.2268, allocations: 207.8 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.2272, allocations: 110.6 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2272, allocations: 3.984 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.2277, allocations: 186.9 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.2277, allocations: 4 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.001055/0.2287, allocations: 313.2 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.2288, allocations: 102.8 kB / 1.096 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.229, allocations: 232 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.229, allocations: 29.7 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2292, allocations: 172.3 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.2292, allocations: 67.03 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.2293, allocations: 85.67 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2294, allocations: 334.8 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.2298, allocations: 96.2 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.2302, allocations: 184.2 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.2309, allocations: 301 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2309, allocations: 3.938 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009054/0.2318, allocations: 382.6 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.2319, allocations: 33.7 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2319, allocations: 4 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2319, allocations: 4 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.2322, allocations: 52.2 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2322, allocations: 11.94 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.2326, allocations: 55.7 kB / 1.097 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.2326, allocations: 19.98 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001516/0.2328, allocations: 162 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.2328, allocations: 19.75 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.2329, allocations: 29.39 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2329, allocations: 0 / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2329, allocations: 4 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2329, allocations: 0 / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.2332, allocations: 321.9 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2332, allocations: 0 / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.2334, allocations: 47.83 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2335, allocations: 11.94 kB / 1.098 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2335, allocations: 8 kB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2335, allocations: 4 kB / 1.098 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2335, allocations: 0 / 1.098 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.2342, allocations: 269.2 kB / 1.098 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.2343, allocations: 104.8 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.2343, allocations: 8 kB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2345, allocations: 11.98 kB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.2346, allocations: 39.89 kB / 1.099 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2346, allocations: 12 kB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001062/0.2347, allocations: 149.6 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2347, allocations: 4 kB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000319/0.235, allocations: 67.78 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009805/0.236, allocations: 0.8206 MB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008039/0.2368, allocations: 303.3 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2369, allocations: 0 / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.2372, allocations: 127.7 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2375, allocations: 45.55 kB / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.2412, allocations: 2.557 MB / 1.102 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2415, allocations: 0.7597 MB / 1.103 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.2417, allocations: 34.3 kB / 1.103 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2418, allocations: 99.39 kB / 1.103 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.2418, allocations: 0 / 1.103 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.2631, allocations: 5.756 MB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.719, allocations: 8.484 kB / 1.109 GB, free: 11.46 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_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_ParallelFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches