Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.008196/0.008196, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002073/0.002073, allocations: 194.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.134/2.134, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.66 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2184, allocations: 140.4 MB / 1.088 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.002424/0.2209, allocations: 1.36 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2224, allocations: 1.304 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2226, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.297e-05/0.2227, allocations: 31.59 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2229, allocations: 47.55 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.2234, allocations: 219.1 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.2238, allocations: 388.2 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2241, allocations: 176.9 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2242, allocations: 151.5 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.2244, allocations: 171.2 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.2245, allocations: 40 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.2246, allocations: 52 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.2247, allocations: 79.73 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.2248, allocations: 159.2 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.2253, allocations: 482.3 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2253, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2253, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2253, 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.001076/0.2264, allocations: 0.6485 MB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2264, allocations: 12.03 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.2265, allocations: 58.73 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.2266, allocations: 48.62 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.2274, allocations: 360.2 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.2274, allocations: 28.94 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.2275, allocations: 32.12 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.2281, allocations: 311.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2282, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.2282, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2282, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.2289, allocations: 224.5 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2301, allocations: 0.9871 MB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.2306, allocations: 207.8 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.2309, allocations: 106.7 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2309, allocations: 11.92 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.2314, allocations: 190.8 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.2314, allocations: 0 / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.001023/0.2325, allocations: 305.8 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2325, allocations: 114.8 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2327, allocations: 228.1 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.2328, allocations: 29.7 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2329, allocations: 184.5 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.2329, allocations: 67.45 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2331, allocations: 77.67 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.2332, allocations: 326.8 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.2335, allocations: 108.2 kB / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.2339, allocations: 192.1 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.2346, allocations: 288.6 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2346, allocations: 4 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009016/0.2355, allocations: 371.2 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.2355, allocations: 38.94 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2356, allocations: 4 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2356, allocations: 4 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2359, allocations: 55.89 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2359, allocations: 7.938 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.2362, allocations: 60.02 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2363, allocations: 15.98 kB / 1.098 GB, free: 7.32 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.0001425/0.2364, allocations: 158 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.2365, allocations: 27.8 kB / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.2365, allocations: 29.39 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2365, allocations: 8 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2365, allocations: 0 / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2365, allocations: 0 / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.2368, allocations: 317.4 kB / 1.098 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2368, allocations: 7.938 kB / 1.098 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.2371, allocations: 39.95 kB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2371, allocations: 7.938 kB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2371, allocations: 4 kB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2371, allocations: 3.938 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2371, allocations: 192 / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.2378, allocations: 277.8 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.2379, allocations: 108.8 kB / 1.098 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.2379, allocations: 8 kB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2381, allocations: 15.98 kB / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.2382, allocations: 35.95 kB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2382, allocations: 8 kB / 1.099 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2383, allocations: 149.6 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2383, allocations: 3.938 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003204/0.2387, allocations: 67.77 kB / 1.099 GB, free: 5.973 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.001069/0.2397, allocations: 0.8324 MB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007832/0.2405, allocations: 307.7 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2406, allocations: 0 / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.2409, allocations: 119.7 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2412, allocations: 40.86 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.2449, allocations: 2.563 MB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2452, allocations: 0.7558 MB / 1.103 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.2454, allocations: 42.27 kB / 1.103 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2455, allocations: 99.39 kB / 1.103 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.2455, allocations: 0 / 1.103 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.2655, allocations: 5.753 MB / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.403, allocations: 8.188 kB / 1.109 GB, free: 11.43 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches