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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Overrides,fileNamePrefix="Buildings_latest_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_latest_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.005115/0.005115, allocations: 99.3 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.001542/0.001542, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 482.4 MB / 0.7548 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.7 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 162.2 MB / 1.241 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.002682/0.2751, allocations: 1.345 MB / 1.243 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.2768, allocations: 1.322 MB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2769, allocations: 4 kB / 1.244 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.508e-05/0.277, allocations: 31.55 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.2771, allocations: 35.59 kB / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.2777, allocations: 224.2 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.2782, allocations: 392.2 kB / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.2785, allocations: 182.3 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2786, allocations: 143.5 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2789, allocations: 175.3 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.2789, allocations: 43.98 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.2791, allocations: 51.98 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.714e-05/0.2791, allocations: 79.69 kB / 1.245 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.2793, allocations: 167.2 kB / 1.246 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.2798, allocations: 466.4 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2798, allocations: 4 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2798, allocations: 0 / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2799, allocations: 3.984 kB / 1.246 GB, free: 4.613 MB / 0.9669 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.001162/0.281, allocations: 0.6445 MB / 1.247 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2811, allocations: 12.03 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/0.2812, allocations: 70.66 kB / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.2812, allocations: 40.7 kB / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.2821, allocations: 352.5 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.2822, allocations: 24.94 kB / 1.247 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.2823, allocations: 32.31 kB / 1.247 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.2829, allocations: 320.1 kB / 1.247 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.283, allocations: 0 / 1.247 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.283, allocations: 8 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.283, allocations: 8 kB / 1.247 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.2837, allocations: 228.9 kB / 1.248 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.2851, allocations: 0.9911 MB / 1.249 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.2857, allocations: 211.7 kB / 1.249 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.286, allocations: 106.6 kB / 1.249 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2861, allocations: 11.98 kB / 1.249 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.2865, allocations: 177.7 kB / 1.249 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2866, allocations: 4 kB / 1.249 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.001089/0.2877, allocations: 313.3 kB / 1.249 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.2877, allocations: 118.7 kB / 1.25 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.288, allocations: 228.1 kB / 1.25 GB, free: 488 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.288, allocations: 33.7 kB / 1.25 GB, free: 448 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2882, allocations: 172.6 kB / 1.25 GB, free: 272 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2882, allocations: 71.36 kB / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2884, allocations: 81.67 kB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2885, allocations: 330.8 kB / 1.25 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.2889, allocations: 100.2 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.2894, allocations: 191.6 kB / 1.251 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.2901, allocations: 288.6 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2901, allocations: 7.984 kB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009761/0.2911, allocations: 371.1 kB / 1.251 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.2912, allocations: 45.58 kB / 1.251 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2912, allocations: 4 kB / 1.251 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2912, allocations: 4 kB / 1.251 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.2915, allocations: 52.45 kB / 1.251 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2915, allocations: 8 kB / 1.251 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.2918, allocations: 55.8 kB / 1.251 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.2919, allocations: 24.02 kB / 1.252 GB, free: 14.54 MB / 0.9825 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.0001634/0.2921, allocations: 153.7 kB / 1.252 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.2921, allocations: 23.8 kB / 1.252 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.2922, allocations: 29.39 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2922, allocations: 4 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2922, allocations: 4 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2922, allocations: 7.984 kB / 1.252 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.2926, allocations: 305.5 kB / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2926, allocations: 0 / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2928, allocations: 43.89 kB / 1.252 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2928, allocations: 7.938 kB / 1.252 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2929, allocations: 4 kB / 1.252 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.2929, allocations: 4 kB / 1.252 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2929, allocations: 3.984 kB / 1.252 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.2936, allocations: 276.9 kB / 1.252 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.2937, allocations: 100.8 kB / 1.252 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.2937, allocations: 11.94 kB / 1.252 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2939, allocations: 15.98 kB / 1.252 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.294, allocations: 39.89 kB / 1.253 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2941, allocations: 15.98 kB / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001362/0.2942, allocations: 145.6 kB / 1.253 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2942, allocations: 0 / 1.253 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000314/0.2945, allocations: 67.78 kB / 1.253 GB, free: 13.2 MB / 0.9825 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.001102/0.2956, allocations: 0.8339 MB / 1.254 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008328/0.2965, allocations: 303.6 kB / 1.254 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2965, allocations: 0 / 1.254 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.2969, allocations: 127.9 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2972, allocations: 42.12 kB / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.3013, allocations: 2.575 MB / 1.257 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3017, allocations: 0.7674 MB / 1.257 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.3019, allocations: 42.22 kB / 1.257 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.302, allocations: 95.41 kB / 1.257 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.302, allocations: 0 / 1.257 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3294, allocations: 5.755 MB / 1.263 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.147, allocations: 12 kB / 1.263 GB, free: 2.645 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches